[INFO] fetching crate nitrocli 0.4.0... [INFO] checking nitrocli-0.4.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate nitrocli 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate nitrocli 0.4.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded structopt-derive v0.4.14 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded merge_derive v0.1.0 [INFO] [stderr] Downloaded nitrokey-test v0.5.0 [INFO] [stderr] Downloaded anyhow v1.0.39 [INFO] [stderr] Downloaded progressing v3.0.2 [INFO] [stderr] Downloaded libc v0.2.90 [INFO] [stderr] Downloaded merge v0.1.0 [INFO] [stderr] Downloaded structopt v0.3.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e06b6246b633ebe359e4046c0b3b8f3a8006873a6861e9a37a995305ec13a532 [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" "e06b6246b633ebe359e4046c0b3b8f3a8006873a6861e9a37a995305ec13a532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e06b6246b633ebe359e4046c0b3b8f3a8006873a6861e9a37a995305ec13a532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06b6246b633ebe359e4046c0b3b8f3a8006873a6861e9a37a995305ec13a532", kill_on_drop: false }` [INFO] [stdout] e06b6246b633ebe359e4046c0b3b8f3a8006873a6861e9a37a995305ec13a532 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5152c98268fd0954fdc0ce119a58503721d7dcc86a3d0e9816d759de0a2f8af1 [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" "5152c98268fd0954fdc0ce119a58503721d7dcc86a3d0e9816d759de0a2f8af1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking nitrokey-test-state v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking progressing v3.0.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling nitrokey-sys v3.6.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [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 structopt-derive v0.4.14 [INFO] [stderr] Compiling merge_derive v0.1.0 [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 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 46.71s [INFO] running `Command { std: "docker" "inspect" "5152c98268fd0954fdc0ce119a58503721d7dcc86a3d0e9816d759de0a2f8af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5152c98268fd0954fdc0ce119a58503721d7dcc86a3d0e9816d759de0a2f8af1", kill_on_drop: false }` [INFO] [stdout] 5152c98268fd0954fdc0ce119a58503721d7dcc86a3d0e9816d759de0a2f8af1