[INFO] cloning repository https://github.com/papertigers/nictagadm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/papertigers/nictagadm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpapertigers%2Fnictagadm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpapertigers%2Fnictagadm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85d4b7c91dedf3efc091cad16d68b85416e72434 [INFO] checking papertigers/nictagadm against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpapertigers%2Fnictagadm" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/papertigers/nictagadm on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/papertigers/nictagadm [INFO] finished tweaking git repo https://github.com/papertigers/nictagadm [INFO] tweaked toml for git repo https://github.com/papertigers/nictagadm written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/papertigers/nictagadm 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" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zonename v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22ad078f608c01397eeeaeddd38eaf62b480a35d2a167569d8d8fc55c7705b39 [INFO] running `Command { std: "docker" "start" "-a" "22ad078f608c01397eeeaeddd38eaf62b480a35d2a167569d8d8fc55c7705b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22ad078f608c01397eeeaeddd38eaf62b480a35d2a167569d8d8fc55c7705b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ad078f608c01397eeeaeddd38eaf62b480a35d2a167569d8d8fc55c7705b39", kill_on_drop: false }` [INFO] [stdout] 22ad078f608c01397eeeaeddd38eaf62b480a35d2a167569d8d8fc55c7705b39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bfc79dc9f29a4dd185200d6241deab270755d7a334c4714c8a4e103bafe6b72 [INFO] running `Command { std: "docker" "start" "-a" "1bfc79dc9f29a4dd185200d6241deab270755d7a334c4714c8a4e103bafe6b72", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking zonename v0.1.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking nictagadm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bootparams/ffi.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DINFOSUBTREE: c_uint = (DIIOC | 0x01); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub const DINFOSUBTREE: c_uint = (DIIOC | 0x01); [INFO] [stdout] 4 + pub const DINFOSUBTREE: c_uint = DIIOC | 0x01; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bootparams/ffi.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DINFOPROP: c_uint = (DIIOC | 0x04); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub const DINFOPROP: c_uint = (DIIOC | 0x04); [INFO] [stdout] 5 + pub const DINFOPROP: c_uint = DIIOC | 0x04; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bootparams/ffi.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DINFOSUBTREE: c_uint = (DIIOC | 0x01); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub const DINFOSUBTREE: c_uint = (DIIOC | 0x01); [INFO] [stdout] 4 + pub const DINFOSUBTREE: c_uint = DIIOC | 0x01; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bootparams/ffi.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DINFOPROP: c_uint = (DIIOC | 0x04); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub const DINFOPROP: c_uint = (DIIOC | 0x04); [INFO] [stdout] 5 + pub const DINFOPROP: c_uint = DIIOC | 0x04; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_conf` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let tmp_conf = "/tmp/.nic-tags"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_conf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usb_config_copy` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let usb_config_copy = config::svc_prop( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usb_config_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usb_mnt` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let usb_mnt = config::svc_prop( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usb_mnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smartos` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | fn find_config_paths(smartos: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smartos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paths` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let paths = find_config_paths(smartos).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SdcConfig(HashMap); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SdcConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/errors.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | BadExitStatus(String, std::process::ExitStatus), [INFO] [stdout] | ------------- ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SdcConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 3 - BadExitStatus(String, std::process::ExitStatus), [INFO] [stdout] 3 + BadExitStatus((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SdcConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - IOError(std::io::Error), [INFO] [stdout] 4 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | Utf8Error(std::str::Utf8Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SdcConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Utf8Error(std::str::Utf8Error), [INFO] [stdout] 5 + Utf8Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_conf` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let tmp_conf = "/tmp/.nic-tags"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_conf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usb_config_copy` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let usb_config_copy = config::svc_prop( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usb_config_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usb_mnt` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let usb_mnt = config::svc_prop( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usb_mnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smartos` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | fn find_config_paths(smartos: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smartos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paths` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let paths = find_config_paths(smartos).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SdcConfig(HashMap); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SdcConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/errors.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | BadExitStatus(String, std::process::ExitStatus), [INFO] [stdout] | ------------- ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SdcConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 3 - BadExitStatus(String, std::process::ExitStatus), [INFO] [stdout] 3 + BadExitStatus((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SdcConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - IOError(std::io::Error), [INFO] [stdout] 4 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | Utf8Error(std::str::Utf8Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SdcConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Utf8Error(std::str::Utf8Error), [INFO] [stdout] 5 + Utf8Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "1bfc79dc9f29a4dd185200d6241deab270755d7a334c4714c8a4e103bafe6b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bfc79dc9f29a4dd185200d6241deab270755d7a334c4714c8a4e103bafe6b72", kill_on_drop: false }` [INFO] [stdout] 1bfc79dc9f29a4dd185200d6241deab270755d7a334c4714c8a4e103bafe6b72