[INFO] fetching crate libcli 0.3.9... [INFO] testing libcli-0.3.9 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libcli 0.3.9 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate libcli 0.3.9 [INFO] finished tweaking crates.io crate libcli 0.3.9 [INFO] tweaked toml for crates.io crate libcli 0.3.9 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libcli 0.3.9 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libcli 0.3.9 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87651c21b38bee33be7e323fecc9e5e59a31a8a10915c3d48a6bc92de039a110 [INFO] running `Command { std: "docker" "start" "-a" "87651c21b38bee33be7e323fecc9e5e59a31a8a10915c3d48a6bc92de039a110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87651c21b38bee33be7e323fecc9e5e59a31a8a10915c3d48a6bc92de039a110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87651c21b38bee33be7e323fecc9e5e59a31a8a10915c3d48a6bc92de039a110", kill_on_drop: false }` [INFO] [stdout] 87651c21b38bee33be7e323fecc9e5e59a31a8a10915c3d48a6bc92de039a110 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e1fd8ef09a71e079c9e34ca8cdb21086c6e2b5e5aa37765c856f5e2b8ee27df [INFO] running `Command { std: "docker" "start" "-a" "4e1fd8ef09a71e079c9e34ca8cdb21086c6e2b5e5aa37765c856f5e2b8ee27df", kill_on_drop: false }` [INFO] [stderr] Compiling libcli v0.3.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "4e1fd8ef09a71e079c9e34ca8cdb21086c6e2b5e5aa37765c856f5e2b8ee27df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e1fd8ef09a71e079c9e34ca8cdb21086c6e2b5e5aa37765c856f5e2b8ee27df", kill_on_drop: false }` [INFO] [stdout] 4e1fd8ef09a71e079c9e34ca8cdb21086c6e2b5e5aa37765c856f5e2b8ee27df [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c4c857ef593a0cf22c8924b35c711c91db52282aac1f6b985135e118c111f76 [INFO] running `Command { std: "docker" "start" "-a" "9c4c857ef593a0cf22c8924b35c711c91db52282aac1f6b985135e118c111f76", kill_on_drop: false }` [INFO] [stderr] Compiling libcli v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/argument_parsing.rs:60:87 [INFO] [stdout] | [INFO] [stdout] 60 | let config = args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | let config = args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/argument_parsing.rs:91:74 [INFO] [stdout] | [INFO] [stdout] 91 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 91 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/argument_parsing.rs:106:74 [INFO] [stdout] | [INFO] [stdout] 106 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 106 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/argument_parsing.rs:130:74 [INFO] [stdout] | [INFO] [stdout] 130 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 130 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/argument_parsing.rs:160:74 [INFO] [stdout] | [INFO] [stdout] 160 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 160 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "9c4c857ef593a0cf22c8924b35c711c91db52282aac1f6b985135e118c111f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4c857ef593a0cf22c8924b35c711c91db52282aac1f6b985135e118c111f76", kill_on_drop: false }` [INFO] [stdout] 9c4c857ef593a0cf22c8924b35c711c91db52282aac1f6b985135e118c111f76 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e338cb0f193df394c17265beb0b87c9e8798e7c899421786a3f781b6c2a15732 [INFO] running `Command { std: "docker" "start" "-a" "e338cb0f193df394c17265beb0b87c9e8798e7c899421786a3f781b6c2a15732", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/argument_parsing.rs:60:87 [INFO] [stderr] | [INFO] [stderr] 60 | let config = args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 60 | let config = args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/argument_parsing.rs:91:74 [INFO] [stderr] | [INFO] [stderr] 91 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 91 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/argument_parsing.rs:106:74 [INFO] [stderr] | [INFO] [stderr] 106 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 106 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/argument_parsing.rs:130:74 [INFO] [stderr] | [INFO] [stderr] 130 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 130 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/argument_parsing.rs:160:74 [INFO] [stderr] | [INFO] [stderr] 160 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!(err)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 160 | args::Config::new(&args[..], &specs).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `libcli` (test "argument_parsing") generated 5 warnings (run `cargo fix --test "argument_parsing" -p libcli` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libcli-dc3f8c9fd8a8f44f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/libcli-84eed4bf221d95c2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/argument_parsing.rs (/opt/rustwide/target/debug/deps/argument_parsing-662fbb109d09cdd2) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::parse_dup_switch ... ok [INFO] [stdout] test tests::parse_0 ... ok [INFO] [stdout] test tests::parse_too_few - should panic ... ok [INFO] [stdout] test tests::parse_too_many - should panic ... ok [INFO] [stdout] test tests::parse_dup - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests libcli [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/args.rs - args::OptionSpec (line 31) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e338cb0f193df394c17265beb0b87c9e8798e7c899421786a3f781b6c2a15732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e338cb0f193df394c17265beb0b87c9e8798e7c899421786a3f781b6c2a15732", kill_on_drop: false }` [INFO] [stdout] e338cb0f193df394c17265beb0b87c9e8798e7c899421786a3f781b6c2a15732