[INFO] fetching crate RustTools 0.0.1... [INFO] checking RustTools-0.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate RustTools 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate RustTools 0.0.1 [INFO] finished tweaking crates.io crate RustTools 0.0.1 [INFO] tweaked toml for crates.io crate RustTools 0.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate RustTools 0.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40672ec0eab6517eacf9acf34ca9d89825f314d8410f877e70ef1529395c68a5 [INFO] running `Command { std: "docker" "start" "-a" "40672ec0eab6517eacf9acf34ca9d89825f314d8410f877e70ef1529395c68a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40672ec0eab6517eacf9acf34ca9d89825f314d8410f877e70ef1529395c68a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40672ec0eab6517eacf9acf34ca9d89825f314d8410f877e70ef1529395c68a5", kill_on_drop: false }` [INFO] [stdout] 40672ec0eab6517eacf9acf34ca9d89825f314d8410f877e70ef1529395c68a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f621b61af59f888e8a25bee2465feccc3103cae7b17765b76a1028f7b111517 [INFO] running `Command { std: "docker" "start" "-a" "3f621b61af59f888e8a25bee2465feccc3103cae7b17765b76a1028f7b111517", kill_on_drop: false }` [INFO] [stderr] Checking RustTools v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/argparse/command.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/argparse/command.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add(mut self, arg: Arg) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/argparse/command.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add(mut self, arg: Arg) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let command = Command::new("Leo Rust Demo") [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `need`, `desc`, and `default` are never read [INFO] [stdout] --> src/argparse/arg.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Arg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) need: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub(crate) desc:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub(crate) default: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` has a derived impl for the trait `Clone`, 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: unused import: `Display` [INFO] [stdout] --> src/argparse/command.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/argparse/command.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add(mut self, arg: Arg) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/argparse/command.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add(mut self, arg: Arg) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `need`, `desc`, and `default` are never read [INFO] [stdout] --> src/argparse/arg.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Arg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) need: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub(crate) desc:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub(crate) default: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` has a derived impl for the trait `Clone`, 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: crate `RustTools` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_tools` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "3f621b61af59f888e8a25bee2465feccc3103cae7b17765b76a1028f7b111517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f621b61af59f888e8a25bee2465feccc3103cae7b17765b76a1028f7b111517", kill_on_drop: false }` [INFO] [stdout] 3f621b61af59f888e8a25bee2465feccc3103cae7b17765b76a1028f7b111517