[INFO] fetching crate dockertest 0.2.1... [INFO] checking dockertest-0.2.1 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] extracting crate dockertest 0.2.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate dockertest 0.2.1 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10aac2d900ddd78c933f76823965a3ec9c8fd9fd9cc2302d350c29b685bc42cd [INFO] running `Command { std: "docker" "start" "-a" "10aac2d900ddd78c933f76823965a3ec9c8fd9fd9cc2302d350c29b685bc42cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10aac2d900ddd78c933f76823965a3ec9c8fd9fd9cc2302d350c29b685bc42cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10aac2d900ddd78c933f76823965a3ec9c8fd9fd9cc2302d350c29b685bc42cd", kill_on_drop: false }` [INFO] [stdout] 10aac2d900ddd78c933f76823965a3ec9c8fd9fd9cc2302d350c29b685bc42cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd8d64b2e677c1ee55d47db2318a75efffc63dd742fe4b4c9598dae13bdd6ae9 [INFO] running `Command { std: "docker" "start" "-a" "dd8d64b2e677c1ee55d47db2318a75efffc63dd742fe4b4c9598dae13bdd6ae9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking event-listener v1.2.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking access-queue v1.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking rand_core v0.5.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 unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling dockertest v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling tracing-attributes v0.1.16 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling test-env-log v0.2.7 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking tracing v0.1.28 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.5.0 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_with v1.10.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking tracing-subscriber v0.2.24 [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: field is never read: `address` [INFO] [stdout] --> src/image.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | address: 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(dead_code)]` implied by `#[deny(warnings)]` [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: 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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dockertest` due to 7 previous errors [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 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] 682 - format!("failed to start Composition: {}", result.err().unwrap()) [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 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] 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 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] 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 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] 752 - format!("failed to start composition: {}", result.err().unwrap()) [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 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] 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 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] 781 - assert!(res, format!("should fail to remove non-existing container")); [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] [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] [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] [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] [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] [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 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] 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 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] 347 - format!("failed to delete image: {}", result.unwrap_err()) [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 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] 368 - format!("failed to delete image: {}", result.unwrap_err()) [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 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] 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 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] 439 - format!("failed to set image id: {}", res.unwrap_err()) [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 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] 468 - format!("failure checking image exists {}", result.unwrap_err()) [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 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] 484 - format!("failure checking image exists {}", result.unwrap_err()) [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 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] 509 - format!("failed to pull image: {}", result.unwrap_err()) [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!(format!("failed to check image existence: {}", e)), [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" "dd8d64b2e677c1ee55d47db2318a75efffc63dd742fe4b4c9598dae13bdd6ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd8d64b2e677c1ee55d47db2318a75efffc63dd742fe4b4c9598dae13bdd6ae9", kill_on_drop: false }` [INFO] [stdout] dd8d64b2e677c1ee55d47db2318a75efffc63dd742fe4b4c9598dae13bdd6ae9