[INFO] fetching crate wwmap 0.1.0... [INFO] checking wwmap-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate wwmap 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wwmap 0.1.0 [INFO] finished tweaking crates.io crate wwmap 0.1.0 [INFO] tweaked toml for crates.io crate wwmap 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wwmap 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wwmap 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d9ea64609f98b5fa0cc570c96ceedc60fbb185f6b8a51819f8cf1ac040e9281 [INFO] running `Command { std: "docker" "start" "-a" "7d9ea64609f98b5fa0cc570c96ceedc60fbb185f6b8a51819f8cf1ac040e9281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d9ea64609f98b5fa0cc570c96ceedc60fbb185f6b8a51819f8cf1ac040e9281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9ea64609f98b5fa0cc570c96ceedc60fbb185f6b8a51819f8cf1ac040e9281", kill_on_drop: false }` [INFO] [stdout] 7d9ea64609f98b5fa0cc570c96ceedc60fbb185f6b8a51819f8cf1ac040e9281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f110433495525b7f4d5fd6464e7e8d20d8c68e5d293788a9d7d776813a08283 [INFO] running `Command { std: "docker" "start" "-a" "5f110433495525b7f4d5fd6464e7e8d20d8c68e5d293788a9d7d776813a08283", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling anyhow v1.0.60 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking debug-helper v0.3.13 [INFO] [stderr] Checking convert-base v1.1.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking cidr-utils v0.5.7 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking wwmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `wwmap` (bin "wwmap" test) due to 1 previous error; 5 warnings emitted [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ipv4.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IPv4 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pub id: u64, // u32 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPv4` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `target` and `result` are never read [INFO] [stdout] --> src/scanner.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct ScanResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 115 | pub target: IPv4, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 116 | pub result: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wwmap` (bin "wwmap") due to 1 previous error; 5 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub cidr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/scanner.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | println!("* Progress: {}/{} [{:.2}%]", TCP_SCANS_ISSUED, TARGET_SCAN_TOTAL, percent_done); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/scanner.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | println!("* Progress: {}/{} [{:.2}%]", TCP_SCANS_ISSUED, TARGET_SCAN_TOTAL, percent_done); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/scanner.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | TCP_SCANS_ISSUED [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ipv4.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IPv4 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pub id: u64, // u32 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPv4` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `result` are never read [INFO] [stdout] --> src/scanner.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct ScanResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 115 | pub target: IPv4, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 116 | pub result: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub cidr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/scanner.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | println!("* Progress: {}/{} [{:.2}%]", TCP_SCANS_ISSUED, TARGET_SCAN_TOTAL, percent_done); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/scanner.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | println!("* Progress: {}/{} [{:.2}%]", TCP_SCANS_ISSUED, TARGET_SCAN_TOTAL, percent_done); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/scanner.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | TCP_SCANS_ISSUED [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f110433495525b7f4d5fd6464e7e8d20d8c68e5d293788a9d7d776813a08283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f110433495525b7f4d5fd6464e7e8d20d8c68e5d293788a9d7d776813a08283", kill_on_drop: false }` [INFO] [stdout] 5f110433495525b7f4d5fd6464e7e8d20d8c68e5d293788a9d7d776813a08283