[INFO] fetching crate nitrocli 0.4.0... [INFO] checking nitrocli-0.4.0 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate nitrocli 0.4.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate nitrocli 0.4.0 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nitrocli 0.4.0 [INFO] finished tweaking crates.io crate nitrocli 0.4.0 [INFO] tweaked toml for crates.io crate nitrocli 0.4.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate nitrocli 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded merge_derive v0.1.0 [INFO] [stderr] Downloaded anyhow v1.0.39 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded nitrokey-test v0.5.0 [INFO] [stderr] Downloaded progressing v3.0.2 [INFO] [stderr] Downloaded merge v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 230331c6be3e201123807d682cb6ae6408f2614eb4f20bb7e64acc5348ee8cac [INFO] running `Command { std: "docker" "start" "-a" "230331c6be3e201123807d682cb6ae6408f2614eb4f20bb7e64acc5348ee8cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "230331c6be3e201123807d682cb6ae6408f2614eb4f20bb7e64acc5348ee8cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230331c6be3e201123807d682cb6ae6408f2614eb4f20bb7e64acc5348ee8cac", kill_on_drop: false }` [INFO] [stdout] 230331c6be3e201123807d682cb6ae6408f2614eb4f20bb7e64acc5348ee8cac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb92b284397c24db5fe81172ac65127afe2226045fa86d6a2b044d7c79e20fa1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb92b284397c24db5fe81172ac65127afe2226045fa86d6a2b044d7c79e20fa1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking nitrokey-test-state v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking progressing v3.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Compiling nitrokey-sys v3.6.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling merge_derive v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling nitrokey-test v0.5.0 [INFO] [stderr] Checking merge v0.1.0 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking nitrokey v0.8.0 [INFO] [stderr] Checking nitrocli v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `safe_packed_borrows` has been renamed to `unaligned_references` [INFO] [stdout] --> src/main.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | safe_packed_borrows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `unaligned_references` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | renamed_and_removed_lints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `safe_packed_borrows` has been renamed to `unaligned_references` [INFO] [stdout] --> src/main.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | safe_packed_borrows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `unaligned_references` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | renamed_and_removed_lints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/config.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(err.contains("cannot be used with"), err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 17 | assert!(err.contains("cannot be used with"), "{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/config.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/config.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | err, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 53 | "{}", err, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/config.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 73 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/encrypted.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(make_re(None).is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | assert!(make_re(None).is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/encrypted.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(make_re(Some(true)).is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | assert!(make_re(Some(true)).is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/encrypted.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | assert!(make_re(Some(false)).is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 43 | assert!(make_re(Some(false)).is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/list.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 26 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/otp.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 46 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/pws.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 33 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/run.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(s.starts_with("nitrocli"), s); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | assert!(s.starts_with("nitrocli"), "{}", s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/run.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(s.contains("USAGE:\n"), s); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | assert!(s.contains("USAGE:\n"), "{}", s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/run.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(s.starts_with(&args.join("-")), s); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 45 | assert!(s.starts_with(&args.join("-")), "{}", s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/run.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(s.contains("USAGE:\n"), s); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 46 | assert!(s.contains("USAGE:\n"), "{}", s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/run.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | assert!(re.is_match(&s), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 100 | assert!(re.is_match(&s), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/run.rs:305:67 [INFO] [stdout] | [INFO] [stdout] 305 | assert!(out.contains("ext Run the ext extension\n"), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 305 | assert!(out.contains("ext Run the ext extension\n"), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/run.rs:373:26 [INFO] [stdout] | [INFO] [stdout] 373 | assert!(check(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 373 | assert!(check(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/status.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/status.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 56 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/status.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(re.is_match(&out), out); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 83 | assert!(re.is_match(&out), "{}", out); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.56s [INFO] running `Command { std: "docker" "inspect" "bb92b284397c24db5fe81172ac65127afe2226045fa86d6a2b044d7c79e20fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb92b284397c24db5fe81172ac65127afe2226045fa86d6a2b044d7c79e20fa1", kill_on_drop: false }` [INFO] [stdout] bb92b284397c24db5fe81172ac65127afe2226045fa86d6a2b044d7c79e20fa1