[INFO] fetching crate dockertest 0.2.1... [INFO] checking dockertest-0.2.1 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate dockertest 0.2.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate dockertest 0.2.1 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dockertest 0.2.1 [INFO] finished tweaking crates.io crate dockertest 0.2.1 [INFO] tweaked toml for crates.io crate dockertest 0.2.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bollard-stubs v1.41.0 [INFO] [stderr] Downloaded hyper-unix-connector v0.2.2 [INFO] [stderr] Downloaded access-queue v1.1.0 [INFO] [stderr] Downloaded event-listener v1.2.0 [INFO] [stderr] Downloaded bollard v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74eb793ed8fcedede48b0c463e72696f10bb0a0a47c5ac5dc45359f75c0ae645 [INFO] running `Command { std: "docker" "start" "-a" "74eb793ed8fcedede48b0c463e72696f10bb0a0a47c5ac5dc45359f75c0ae645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74eb793ed8fcedede48b0c463e72696f10bb0a0a47c5ac5dc45359f75c0ae645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74eb793ed8fcedede48b0c463e72696f10bb0a0a47c5ac5dc45359f75c0ae645", kill_on_drop: false }` [INFO] [stdout] 74eb793ed8fcedede48b0c463e72696f10bb0a0a47c5ac5dc45359f75c0ae645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23df53808bae30286de6d2ad3dd55a6c22da109e09b0091a640c9877e1baae5a [INFO] running `Command { std: "docker" "start" "-a" "23df53808bae30286de6d2ad3dd55a6c22da109e09b0091a640c9877e1baae5a", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking event-listener v1.2.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking access-queue v1.1.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling dockertest v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling test-env-log v0.2.7 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_with v1.9.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking bollard-stubs v1.41.0 [INFO] [stderr] Checking hyper-unix-connector v0.2.2 [INFO] [stderr] Checking bollard v0.10.1 [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/container.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(e.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", e.to_string()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 | std::panic::panic_any(e.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 215 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 215 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 228 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 228 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 257 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 257 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dockertest` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/composition.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | format!("failed to start Composition: {}", result.err().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this usage of panic!() 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] 682 | "failed to start Composition: {}", result.err().unwrap() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/composition.rs:714:13 [INFO] [stdout] | [INFO] [stdout] 714 | / format!( [INFO] [stdout] 715 | | "failed to start first composition: {}", [INFO] [stdout] 716 | | result.err().unwrap() [INFO] [stdout] 717 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 714 | [INFO] [stdout] 715 | "failed to start first composition: {}", [INFO] [stdout] 716 | result.err().unwrap() [INFO] [stdout] 717 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/composition.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | / format!( [INFO] [stdout] 726 | | "failed to start second composition: {}", [INFO] [stdout] 727 | | result.err().unwrap() [INFO] [stdout] 728 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 725 | [INFO] [stdout] 726 | "failed to start second composition: {}", [INFO] [stdout] 727 | result.err().unwrap() [INFO] [stdout] 728 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/composition.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | format!("failed to start composition: {}", result.err().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 752 | "failed to start composition: {}", result.err().unwrap() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/composition.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | / format!( [INFO] [stdout] 760 | | "failed to remove existing container: {}", [INFO] [stdout] 761 | | result.unwrap_err() [INFO] [stdout] 762 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 759 | [INFO] [stdout] 760 | "failed to remove existing container: {}", [INFO] [stdout] 761 | result.unwrap_err() [INFO] [stdout] 762 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/composition.rs:781:22 [INFO] [stdout] | [INFO] [stdout] 781 | assert!(res, format!("should fail to remove non-existing container")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 781 | assert!(res, "should fail to remove non-existing container"); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/container.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(e.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", e.to_string()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 | std::panic::panic_any(e.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 215 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 215 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 228 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 228 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/dockertest.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | panic!(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 257 | panic!("{}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 257 | std::panic::panic_any(e.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | / format!( [INFO] [stdout] 321 | | "should not fail pull process with local source and existing image: {}", [INFO] [stdout] 322 | | result.unwrap_err() [INFO] [stdout] 323 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 320 | [INFO] [stdout] 321 | "should not fail pull process with local source and existing image: {}", [INFO] [stdout] 322 | result.unwrap_err() [INFO] [stdout] 323 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | format!("failed to delete image: {}", result.unwrap_err()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 347 | "failed to delete image: {}", result.unwrap_err() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | format!("failed to delete image: {}", result.unwrap_err()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 368 | "failed to delete image: {}", result.unwrap_err() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | / format!( [INFO] [stdout] 380 | | "should not fail pull process with valid remote source: {}", [INFO] [stdout] 381 | | result.unwrap_err() [INFO] [stdout] 382 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 379 | [INFO] [stdout] 380 | "should not fail pull process with valid remote source: {}", [INFO] [stdout] 381 | result.unwrap_err() [INFO] [stdout] 382 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | format!("failed to set image id: {}", res.unwrap_err()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 439 | "failed to set image id: {}", res.unwrap_err() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | format!("failure checking image exists {}", result.unwrap_err()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 468 | "failure checking image exists {}", result.unwrap_err() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | format!("failure checking image exists {}", result.unwrap_err()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 484 | "failure checking image exists {}", result.unwrap_err() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | format!("failed to pull image: {}", result.unwrap_err()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() 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] 509 | "failed to pull image: {}", result.unwrap_err() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/image.rs:519:30 [INFO] [stdout] | [INFO] [stdout] 519 | Err(e) => panic!(format!("failed to check image existence: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() 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] 519 | Err(e) => panic!("failed to check image existence: {}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "23df53808bae30286de6d2ad3dd55a6c22da109e09b0091a640c9877e1baae5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23df53808bae30286de6d2ad3dd55a6c22da109e09b0091a640c9877e1baae5a", kill_on_drop: false }` [INFO] [stdout] 23df53808bae30286de6d2ad3dd55a6c22da109e09b0091a640c9877e1baae5a