Skip to content

Testing

Testing #26

GitHub Actions / cargo test (windows-2019) succeeded Aug 9, 2023 in 2s

cargo test (windows-2019)

There are 0 failures, 2 warnings, and 0 notice.

Details

Results

Compile result

Type Count
error: internal compiler error 0
error 0
warning 2
failure-note 0
note 0
help 0

Test result

Name Status
dirs::tests::test_sync_send ok
fs::tests::basic ok
dirs::tests::api_breakage ok
time::tests::now_local ok
src\open\url.rs:96 open::url::Url<'a>::to_os_str ok
src\open\url.rs:66 open::url::Url<'a>::new ok

Annotations

Check warning on line 128 in core\src\time\mod.rs

See this annotation in the file changed.

@github-actions github-actions / cargo test (windows-2019)

unused import: `OffsetDateTime`

warning: unused import: `OffsetDateTime`
   --> core\src\time\mod.rs:128:16
    |
128 |     use time::{OffsetDateTime, UtcOffset};
    |                ^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

Raw output
[
  {
    "children": [],
    "code": null,
    "level": "note",
    "message": "`#[warn(unused_imports)]` on by default",
    "rendered": null,
    "spans": []
  },
  {
    "children": [],
    "code": null,
    "level": "help",
    "message": "remove the unused import",
    "rendered": null,
    "spans": [
      {
        "byte_end": 4881,
        "byte_start": 4865,
        "column_end": 32,
        "column_start": 16,
        "expansion": null,
        "file_name": "core\\src\\time\\mod.rs",
        "is_primary": true,
        "label": null,
        "line_end": 128,
        "line_start": 128,
        "suggested_replacement": "",
        "suggestion_applicability": "MachineApplicable",
        "text": [
          {
            "highlight_end": 32,
            "highlight_start": 16,
            "text": "    use time::{OffsetDateTime, UtcOffset};"
          }
        ]
      }
    ]
  }
]

Check warning on line 132 in core\src\time\mod.rs

See this annotation in the file changed.

@github-actions github-actions / cargo test (windows-2019)

unused import: `super::LocalOffsetDateTime`

warning: unused import: `super::LocalOffsetDateTime`
   --> core\src\time\mod.rs:132:9
    |
132 |     use super::LocalOffsetDateTime;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^

Raw output
[
  {
    "children": [],
    "code": null,
    "level": "help",
    "message": "remove the whole `use` item",
    "rendered": null,
    "spans": [
      {
        "byte_end": 4971,
        "byte_start": 4940,
        "column_end": 36,
        "column_start": 5,
        "expansion": null,
        "file_name": "core\\src\\time\\mod.rs",
        "is_primary": true,
        "label": null,
        "line_end": 132,
        "line_start": 132,
        "suggested_replacement": "",
        "suggestion_applicability": "MachineApplicable",
        "text": [
          {
            "highlight_end": 36,
            "highlight_start": 5,
            "text": "    use super::LocalOffsetDateTime;"
          }
        ]
      }
    ]
  }
]