[INFO] fetching crate env_assert 0.1.5... [INFO] testing env_assert-0.1.5 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] extracting crate env_assert 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate env_assert 0.1.5 on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate env_assert 0.1.5 [INFO] finished tweaking crates.io crate env_assert 0.1.5 [INFO] tweaked toml for crates.io crate env_assert 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9a5e3da3b0e0cc5d813c423217a8007e9f64fe71b9a8ea9a2540bad3c819792 [INFO] running `Command { std: "docker" "start" "-a" "f9a5e3da3b0e0cc5d813c423217a8007e9f64fe71b9a8ea9a2540bad3c819792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9a5e3da3b0e0cc5d813c423217a8007e9f64fe71b9a8ea9a2540bad3c819792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a5e3da3b0e0cc5d813c423217a8007e9f64fe71b9a8ea9a2540bad3c819792", kill_on_drop: false }` [INFO] [stdout] f9a5e3da3b0e0cc5d813c423217a8007e9f64fe71b9a8ea9a2540bad3c819792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4e6bab09b2834509006a2bac747daf181d2f90616b7957955ff70840efb328a [INFO] running `Command { std: "docker" "start" "-a" "c4e6bab09b2834509006a2bac747daf181d2f90616b7957955ff70840efb328a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling env_assert v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] running `Command { std: "docker" "inspect" "c4e6bab09b2834509006a2bac747daf181d2f90616b7957955ff70840efb328a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4e6bab09b2834509006a2bac747daf181d2f90616b7957955ff70840efb328a", kill_on_drop: false }` [INFO] [stdout] c4e6bab09b2834509006a2bac747daf181d2f90616b7957955ff70840efb328a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a847b319f39c0eb71ae0da452be7e68bfc370af4b41efd0c2fb38fb4761df5cc [INFO] running `Command { std: "docker" "start" "-a" "a847b319f39c0eb71ae0da452be7e68bfc370af4b41efd0c2fb38fb4761df5cc", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling env_assert v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | super::env_assert!(true, "didn't crash with {}", 5); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 112 | super::env_assert!(false, "false assert is panic"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 119 | super::env_assert!(true, "asserting with true"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 120 | super::env_assert!(false, "asserting with false"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "a847b319f39c0eb71ae0da452be7e68bfc370af4b41efd0c2fb38fb4761df5cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a847b319f39c0eb71ae0da452be7e68bfc370af4b41efd0c2fb38fb4761df5cc", kill_on_drop: false }` [INFO] [stdout] a847b319f39c0eb71ae0da452be7e68bfc370af4b41efd0c2fb38fb4761df5cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 389ef0fd8a2c1db74306314a4adbde526e6a71109e63e7f34b7b6e19c552cef4 [INFO] running `Command { std: "docker" "start" "-a" "389ef0fd8a2c1db74306314a4adbde526e6a71109e63e7f34b7b6e19c552cef4", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 105 | super::env_assert!(true, "didn't crash with {}", 5); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 112 | super::env_assert!(false, "false assert is panic"); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 119 | super::env_assert!(true, "asserting with true"); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 120 | super::env_assert!(false, "asserting with false"); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `env_assert` (lib test) generated 4 warnings (run `cargo fix --lib -p env_assert --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/env_assert-5868fb27b297a730) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::assert_when_var_is_not_set ... ok [INFO] [stdout] test tests::test_panic_var_true - should panic ... FAILED [INFO] [stdout] test tests::true_with_comma ... ok [INFO] [stdout] test tests::just_true ... ok [INFO] [stdout] test tests::true_with_fmt ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_panic_var_true stdout ---- [INFO] [stdout] note: test did not panic as expected [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_panic_var_true [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "389ef0fd8a2c1db74306314a4adbde526e6a71109e63e7f34b7b6e19c552cef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "389ef0fd8a2c1db74306314a4adbde526e6a71109e63e7f34b7b6e19c552cef4", kill_on_drop: false }` [INFO] [stdout] 389ef0fd8a2c1db74306314a4adbde526e6a71109e63e7f34b7b6e19c552cef4 [INFO] testing env_assert-0.1.5 against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] extracting crate env_assert 0.1.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate env_assert 0.1.5 on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate env_assert 0.1.5 [INFO] finished tweaking crates.io crate env_assert 0.1.5 [INFO] tweaked toml for crates.io crate env_assert 0.1.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c8639af3792037411e74acb29ede0450d603778968f9525939de514fd4eae83 [INFO] running `Command { std: "docker" "start" "-a" "5c8639af3792037411e74acb29ede0450d603778968f9525939de514fd4eae83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c8639af3792037411e74acb29ede0450d603778968f9525939de514fd4eae83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8639af3792037411e74acb29ede0450d603778968f9525939de514fd4eae83", kill_on_drop: false }` [INFO] [stdout] 5c8639af3792037411e74acb29ede0450d603778968f9525939de514fd4eae83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f906e44a3ff2ff1fa29df9433abda09aec72b07d0fba193ff331dfc98e40e3be [INFO] running `Command { std: "docker" "start" "-a" "f906e44a3ff2ff1fa29df9433abda09aec72b07d0fba193ff331dfc98e40e3be", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling env_assert v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] running `Command { std: "docker" "inspect" "f906e44a3ff2ff1fa29df9433abda09aec72b07d0fba193ff331dfc98e40e3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f906e44a3ff2ff1fa29df9433abda09aec72b07d0fba193ff331dfc98e40e3be", kill_on_drop: false }` [INFO] [stdout] f906e44a3ff2ff1fa29df9433abda09aec72b07d0fba193ff331dfc98e40e3be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7db97a619d640006011c468f42e4c5614a98fd183ce044fb842d9a09f5fb653e [INFO] running `Command { std: "docker" "start" "-a" "7db97a619d640006011c468f42e4c5614a98fd183ce044fb842d9a09f5fb653e", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling env_assert v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | super::env_assert!(true, "didn't crash with {}", 5); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 112 | super::env_assert!(false, "false assert is panic"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 119 | super::env_assert!(true, "asserting with true"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, s) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 120 | super::env_assert!(false, "asserting with false"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 69 | assert!($cond, "{}", s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "7db97a619d640006011c468f42e4c5614a98fd183ce044fb842d9a09f5fb653e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db97a619d640006011c468f42e4c5614a98fd183ce044fb842d9a09f5fb653e", kill_on_drop: false }` [INFO] [stdout] 7db97a619d640006011c468f42e4c5614a98fd183ce044fb842d9a09f5fb653e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7048c43a783b1b51492e54fbef55c3f73476df0652b218532307a5fbb518aa6b [INFO] running `Command { std: "docker" "start" "-a" "7048c43a783b1b51492e54fbef55c3f73476df0652b218532307a5fbb518aa6b", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 105 | super::env_assert!(true, "didn't crash with {}", 5); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 112 | super::env_assert!(false, "false assert is panic"); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 119 | super::env_assert!(true, "asserting with true"); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, s) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 120 | super::env_assert!(false, "asserting with false"); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `super::env_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 69 | assert!($cond, "{}", s) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `env_assert` (lib test) generated 4 warnings (run `cargo fix --lib -p env_assert --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/env_assert-5868fb27b297a730) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::assert_when_var_is_not_set ... ok [INFO] [stdout] test tests::just_true ... ok [INFO] [stdout] test tests::true_with_fmt ... ok [INFO] [stdout] test tests::true_with_comma ... ok [INFO] [stdout] test tests::test_panic_var_true - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests env_assert [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7048c43a783b1b51492e54fbef55c3f73476df0652b218532307a5fbb518aa6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7048c43a783b1b51492e54fbef55c3f73476df0652b218532307a5fbb518aa6b", kill_on_drop: false }` [INFO] [stdout] 7048c43a783b1b51492e54fbef55c3f73476df0652b218532307a5fbb518aa6b