[INFO] cloning repository https://github.com/saiumesh535/npm-dep-chek-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saiumesh535/npm-dep-chek-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiumesh535%2Fnpm-dep-chek-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiumesh535%2Fnpm-dep-chek-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6874a75c967624466210145eaf7d0c32160044bc [INFO] checking saiumesh535/npm-dep-chek-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiumesh535%2Fnpm-dep-chek-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/saiumesh535/npm-dep-chek-rust [INFO] finished tweaking git repo https://github.com/saiumesh535/npm-dep-chek-rust [INFO] tweaked toml for git repo https://github.com/saiumesh535/npm-dep-chek-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saiumesh535/npm-dep-chek-rust 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 git repo https://github.com/saiumesh535/npm-dep-chek-rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 325d5e5040e4cf5c6595674250c4af8b8450042ed9464bd31a53ce2b6d455601 [INFO] running `Command { std: "docker" "start" "-a" "325d5e5040e4cf5c6595674250c4af8b8450042ed9464bd31a53ce2b6d455601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "325d5e5040e4cf5c6595674250c4af8b8450042ed9464bd31a53ce2b6d455601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325d5e5040e4cf5c6595674250c4af8b8450042ed9464bd31a53ce2b6d455601", kill_on_drop: false }` [INFO] [stdout] 325d5e5040e4cf5c6595674250c4af8b8450042ed9464bd31a53ce2b6d455601 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 13fd58249229caafbde3bd5a6fcb6977db6183a0694ef761d424c58ed33afedf [INFO] running `Command { std: "docker" "start" "-a" "13fd58249229caafbde3bd5a6fcb6977db6183a0694ef761d424c58ed33afedf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling doc-comment v0.3.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Checking clap v3.0.0-beta.4 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking npm-dep-check-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `CustomErrorMessage` and `EnvErrorConfig` are never constructed [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | #[snafu(display("{}", message))] [INFO] [stdout] 10 | CustomErrorMessage { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[snafu(display("{}", message))] [INFO] [stdout] 12 | EnvErrorConfig { source: VarError, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is 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] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[clap(short = 's', long = "src", about = "path to source directory")] [INFO] [stdout] 8 | | pub source: 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] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[clap(short = 'p', long = "package", about = "path to package.json")] [INFO] [stdout] 11 | | pub package: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CustomErrorMessage` and `EnvErrorConfig` are never constructed [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | #[snafu(display("{}", message))] [INFO] [stdout] 10 | CustomErrorMessage { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[snafu(display("{}", message))] [INFO] [stdout] 12 | EnvErrorConfig { source: VarError, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is 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] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[clap(short = 's', long = "src", about = "path to source directory")] [INFO] [stdout] 8 | | pub source: 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] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[clap(short = 'p', long = "package", about = "path to package.json")] [INFO] [stdout] 11 | | pub package: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `npm-dep-check-rust` (bin "npm-dep-check-rust") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `npm-dep-check-rust` (bin "npm-dep-check-rust" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "13fd58249229caafbde3bd5a6fcb6977db6183a0694ef761d424c58ed33afedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13fd58249229caafbde3bd5a6fcb6977db6183a0694ef761d424c58ed33afedf", kill_on_drop: false }` [INFO] [stdout] 13fd58249229caafbde3bd5a6fcb6977db6183a0694ef761d424c58ed33afedf