[INFO] fetching crate nitrocli 0.4.0... [INFO] checking nitrocli-0.4.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate nitrocli 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate nitrocli 0.4.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-2/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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] 5302cda5859109da6951f8f3bd4631a0d8be699a536b9e8150dc098a1f68d4b2 [INFO] running `Command { std: "docker" "start" "-a" "5302cda5859109da6951f8f3bd4631a0d8be699a536b9e8150dc098a1f68d4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5302cda5859109da6951f8f3bd4631a0d8be699a536b9e8150dc098a1f68d4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5302cda5859109da6951f8f3bd4631a0d8be699a536b9e8150dc098a1f68d4b2", kill_on_drop: false }` [INFO] [stdout] 5302cda5859109da6951f8f3bd4631a0d8be699a536b9e8150dc098a1f68d4b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b0153e182372796d38ff86cd6442974aff1b2073e364c46ba1ba3f07cb4fb70 [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" "0b0153e182372796d38ff86cd6442974aff1b2073e364c46ba1ba3f07cb4fb70", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking nitrokey-test-state v0.1.0 [INFO] [stderr] Compiling nitrokey-sys v3.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [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 rand_core v0.6.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Checking rand_chacha v0.3.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 progressing v3.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking regex v1.4.5 [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 serde v1.0.124 [INFO] [stderr] Checking nitrokey v0.8.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking envy v0.4.2 [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 49.37s [INFO] running `Command { std: "docker" "inspect" "0b0153e182372796d38ff86cd6442974aff1b2073e364c46ba1ba3f07cb4fb70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b0153e182372796d38ff86cd6442974aff1b2073e364c46ba1ba3f07cb4fb70", kill_on_drop: false }` [INFO] [stdout] 0b0153e182372796d38ff86cd6442974aff1b2073e364c46ba1ba3f07cb4fb70