[INFO] fetching crate named_constants 0.1.0... [INFO] testing named_constants-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate named_constants 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate named_constants 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate named_constants 0.1.0 [INFO] finished tweaking crates.io crate named_constants 0.1.0 [INFO] tweaked toml for crates.io crate named_constants 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 135b28c77b8470907e1eade68768b2a00f9c8464bd104b1411b40398845b37fb [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" "135b28c77b8470907e1eade68768b2a00f9c8464bd104b1411b40398845b37fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "135b28c77b8470907e1eade68768b2a00f9c8464bd104b1411b40398845b37fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135b28c77b8470907e1eade68768b2a00f9c8464bd104b1411b40398845b37fb", kill_on_drop: false }` [INFO] [stdout] 135b28c77b8470907e1eade68768b2a00f9c8464bd104b1411b40398845b37fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", 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] ec09237ca8cfad3ad0c2e40b5130868f23d99d28eefb7b913bc0b5b8ddadc35d [INFO] running `Command { std: "docker" "start" "-a" "ec09237ca8cfad3ad0c2e40b5130868f23d99d28eefb7b913bc0b5b8ddadc35d", kill_on_drop: false }` [INFO] [stderr] Compiling named_constants v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:238:43 [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("named constants must use { } to declare the constants"), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("named constants must use { } to declare the constants", ...), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("{}", "named constants must use { } to declare the constants"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "ec09237ca8cfad3ad0c2e40b5130868f23d99d28eefb7b913bc0b5b8ddadc35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec09237ca8cfad3ad0c2e40b5130868f23d99d28eefb7b913bc0b5b8ddadc35d", kill_on_drop: false }` [INFO] [stdout] ec09237ca8cfad3ad0c2e40b5130868f23d99d28eefb7b913bc0b5b8ddadc35d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1194efa1c3a631b8f9d0b6521a4b9c1cb3915152c3e7ac704bf1d4438f3058f6 [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" "1194efa1c3a631b8f9d0b6521a4b9c1cb3915152c3e7ac704bf1d4438f3058f6", kill_on_drop: false }` [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:238:43 [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("named constants must use { } to declare the constants"), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("named constants must use { } to declare the constants", ...), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("{}", "named constants must use { } to declare the constants"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling named_constants v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:238:43 [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("named constants must use { } to declare the constants"), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("named constants must use { } to declare the constants", ...), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 238 | _ => panic!("{}", "named constants must use { } to declare the constants"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "1194efa1c3a631b8f9d0b6521a4b9c1cb3915152c3e7ac704bf1d4438f3058f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1194efa1c3a631b8f9d0b6521a4b9c1cb3915152c3e7ac704bf1d4438f3058f6", kill_on_drop: false }` [INFO] [stdout] 1194efa1c3a631b8f9d0b6521a4b9c1cb3915152c3e7ac704bf1d4438f3058f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", 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] de43970ac2c8be8976dd938e7e79114585223e464f28d7ad86001c35ba731489 [INFO] running `Command { std: "docker" "start" "-a" "de43970ac2c8be8976dd938e7e79114585223e464f28d7ad86001c35ba731489", kill_on_drop: false }` [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/lib.rs:238:43 [INFO] [stderr] | [INFO] [stderr] 238 | _ => panic!("named constants must use { } to declare the constants"), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 238 | _ => panic!("named constants must use { } to declare the constants", ...), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 238 | _ => panic!("{}", "named constants must use { } to declare the constants"), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/lib.rs:238:43 [INFO] [stderr] | [INFO] [stderr] 238 | _ => panic!("named constants must use { } to declare the constants"), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 238 | _ => panic!("named constants must use { } to declare the constants", ...), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 238 | _ => panic!("{}", "named constants must use { } to declare the constants"), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/named_constants-9d7efba3e9853c4d) [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/main.rs (/opt/rustwide/target/debug/deps/main-ec19e44a36987d03) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test autoincrement2 ... ok [INFO] [stdout] test constant_attributes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests named_constants [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - named_constants (line 13) ... ok [INFO] [stdout] test src/lib.rs - named_constants (line 36) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "de43970ac2c8be8976dd938e7e79114585223e464f28d7ad86001c35ba731489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de43970ac2c8be8976dd938e7e79114585223e464f28d7ad86001c35ba731489", kill_on_drop: false }` [INFO] [stdout] de43970ac2c8be8976dd938e7e79114585223e464f28d7ad86001c35ba731489