[INFO] fetching crate cli_test_dir 0.1.7... [INFO] testing cli_test_dir-0.1.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate cli_test_dir 0.1.7 into /workspace/builds/worker-83/source [INFO] validating manifest of crates.io crate cli_test_dir 0.1.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cli_test_dir 0.1.7 [INFO] finished tweaking crates.io crate cli_test_dir 0.1.7 [INFO] tweaked toml for crates.io crate cli_test_dir 0.1.7 written to /workspace/builds/worker-83/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1177e6a706edd70d058d65a470a35597324768fb4a20ce918b74586d154003b6 [INFO] running `Command { std: "docker" "start" "-a" "1177e6a706edd70d058d65a470a35597324768fb4a20ce918b74586d154003b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1177e6a706edd70d058d65a470a35597324768fb4a20ce918b74586d154003b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1177e6a706edd70d058d65a470a35597324768fb4a20ce918b74586d154003b6", kill_on_drop: false }` [INFO] [stdout] 1177e6a706edd70d058d65a470a35597324768fb4a20ce918b74586d154003b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb6f9ad18edb936197bdbbf9fd3d5c23e3fc83f567ce2b227d36704e037291c9 [INFO] running `Command { std: "docker" "start" "-a" "cb6f9ad18edb936197bdbbf9fd3d5c23e3fc83f567ce2b227d36704e037291c9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cli_test_dir v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | use std::sync::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | static TEST_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 365 - assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stdout] 365 + assert!(path.exists(), "{} should exist", path.display()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:371:33 [INFO] [stdout] | [INFO] [stdout] 371 | assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 371 - assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stdout] 371 + assert!(!path.exists(), "{} should not exist", path.display()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | / format!("expected {} to match {:?}, but it contained {:?}", [INFO] [stdout] 408 | | path.display(), pattern, contents)); [INFO] [stdout] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 407 ~ "expected {} to match {:?}, but it contained {:?}", [INFO] [stdout] 408 ~ path.display(), pattern, contents); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | / format!("expected {} to not match {:?}, but it contained {:?}", [INFO] [stdout] 422 | | path.display(), pattern, contents)); [INFO] [stdout] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 421 ~ "expected {} to not match {:?}, but it contained {:?}", [INFO] [stdout] 422 ~ path.display(), pattern, contents); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "cb6f9ad18edb936197bdbbf9fd3d5c23e3fc83f567ce2b227d36704e037291c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6f9ad18edb936197bdbbf9fd3d5c23e3fc83f567ce2b227d36704e037291c9", kill_on_drop: false }` [INFO] [stdout] cb6f9ad18edb936197bdbbf9fd3d5c23e3fc83f567ce2b227d36704e037291c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68eb82691457ab0af21d148fefe684ad02d31449ac9cd2c37ebedd6656aa9541 [INFO] running `Command { std: "docker" "start" "-a" "68eb82691457ab0af21d148fefe684ad02d31449ac9cd2c37ebedd6656aa9541", kill_on_drop: false }` [INFO] [stderr] Compiling cli_test_dir v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | use std::sync::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | static TEST_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 365 - assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stdout] 365 + assert!(path.exists(), "{} should exist", path.display()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:371:33 [INFO] [stdout] | [INFO] [stdout] 371 | assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 371 - assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stdout] 371 + assert!(!path.exists(), "{} should not exist", path.display()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | / format!("expected {} to match {:?}, but it contained {:?}", [INFO] [stdout] 408 | | path.display(), pattern, contents)); [INFO] [stdout] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 407 ~ "expected {} to match {:?}, but it contained {:?}", [INFO] [stdout] 408 ~ path.display(), pattern, contents); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | / format!("expected {} to not match {:?}, but it contained {:?}", [INFO] [stdout] 422 | | path.display(), pattern, contents)); [INFO] [stdout] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 421 ~ "expected {} to not match {:?}, but it contained {:?}", [INFO] [stdout] 422 ~ path.display(), pattern, contents); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | use std::sync::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | static TEST_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 365 - assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stdout] 365 + assert!(path.exists(), "{} should exist", path.display()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:371:33 [INFO] [stdout] | [INFO] [stdout] 371 | assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 371 - assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stdout] 371 + assert!(!path.exists(), "{} should not exist", path.display()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | / format!("expected {} to match {:?}, but it contained {:?}", [INFO] [stdout] 408 | | path.display(), pattern, contents)); [INFO] [stdout] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 407 ~ "expected {} to match {:?}, but it contained {:?}", [INFO] [stdout] 408 ~ path.display(), pattern, contents); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | / format!("expected {} to not match {:?}, but it contained {:?}", [INFO] [stdout] 422 | | path.display(), pattern, contents)); [INFO] [stdout] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 421 ~ "expected {} to not match {:?}, but it contained {:?}", [INFO] [stdout] 422 ~ path.display(), pattern, contents); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "68eb82691457ab0af21d148fefe684ad02d31449ac9cd2c37ebedd6656aa9541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68eb82691457ab0af21d148fefe684ad02d31449ac9cd2c37ebedd6656aa9541", kill_on_drop: false }` [INFO] [stdout] 68eb82691457ab0af21d148fefe684ad02d31449ac9cd2c37ebedd6656aa9541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e91707b48054c127ad3ffe2dec7b8a05d01ad60311f32c050eeecb7a4e508943 [INFO] running `Command { std: "docker" "start" "-a" "e91707b48054c127ad3ffe2dec7b8a05d01ad60311f32c050eeecb7a4e508943", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:228:25 [INFO] [stderr] | [INFO] [stderr] 228 | use std::sync::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:233:31 [INFO] [stderr] | [INFO] [stderr] 233 | static TEST_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:365:32 [INFO] [stderr] | [INFO] [stderr] 365 | assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 365 - assert!(path.exists(), format!("{} should exist", path.display())); [INFO] [stderr] 365 + assert!(path.exists(), "{} should exist", path.display()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:371:33 [INFO] [stderr] | [INFO] [stderr] 371 | assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 371 - assert!(!path.exists(), format!("{} should not exist", path.display())); [INFO] [stderr] 371 + assert!(!path.exists(), "{} should not exist", path.display()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:407:17 [INFO] [stderr] | [INFO] [stderr] 407 | / format!("expected {} to match {:?}, but it contained {:?}", [INFO] [stderr] 408 | | path.display(), pattern, contents)); [INFO] [stderr] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 407 ~ "expected {} to match {:?}, but it contained {:?}", [INFO] [stderr] 408 ~ path.display(), pattern, contents); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:421:17 [INFO] [stderr] | [INFO] [stderr] 421 | / format!("expected {} to not match {:?}, but it contained {:?}", [INFO] [stderr] 422 | | path.display(), pattern, contents)); [INFO] [stderr] | |__________________________________________________________^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 421 ~ "expected {} to not match {:?}, but it contained {:?}", [INFO] [stderr] 422 ~ path.display(), pattern, contents); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cli_test_dir` (lib) generated 6 warnings [INFO] [stderr] warning: `cli_test_dir` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cli_test_dir-12c69693bec2979c) [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] [stderr] Doc-tests cli_test_dir [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 15) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 43) ... ok [INFO] [stdout] test src/lib.rs - (line 21) ... ok [INFO] [stdout] test src/lib.rs - TestDir::path (line 325) ... ok [INFO] [stdout] test src/lib.rs - (line 107) ... ok [INFO] [stdout] test src/lib.rs - (line 146) ... ok [INFO] [stdout] test src/lib.rs - (line 88) ... ok [INFO] [stdout] test src/lib.rs - (line 57) ... ok [INFO] [stdout] test src/lib.rs - (line 126) ... ok [INFO] [stdout] test src/lib.rs - (line 74) ... ok [INFO] [stdout] test src/lib.rs - (line 168) ... ok [INFO] [stdout] test src/lib.rs - (line 185) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e91707b48054c127ad3ffe2dec7b8a05d01ad60311f32c050eeecb7a4e508943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91707b48054c127ad3ffe2dec7b8a05d01ad60311f32c050eeecb7a4e508943", kill_on_drop: false }` [INFO] [stdout] e91707b48054c127ad3ffe2dec7b8a05d01ad60311f32c050eeecb7a4e508943