[INFO] fetching crate libimagentrycategory 0.10.1... [INFO] testing libimagentrycategory-0.10.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate libimagentrycategory 0.10.1 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate libimagentrycategory 0.10.1 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 libimagentrycategory 0.10.1 [INFO] finished tweaking crates.io crate libimagentrycategory 0.10.1 [INFO] tweaked toml for crates.io crate libimagentrycategory 0.10.1 written to /workspace/builds/worker-16/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-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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] 56c8634fa85bae349326ba0eed43c541dc7696dcbefb82c7cd7e8d5a7a8bdf5f [INFO] running `Command { std: "docker" "start" "-a" "56c8634fa85bae349326ba0eed43c541dc7696dcbefb82c7cd7e8d5a7a8bdf5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56c8634fa85bae349326ba0eed43c541dc7696dcbefb82c7cd7e8d5a7a8bdf5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c8634fa85bae349326ba0eed43c541dc7696dcbefb82c7cd7e8d5a7a8bdf5f", kill_on_drop: false }` [INFO] [stdout] 56c8634fa85bae349326ba0eed43c541dc7696dcbefb82c7cd7e8d5a7a8bdf5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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] 6d47c60a30b7dcb09a2d7b561fb297b726ac9fa6bbaa87ade4169c47c709d63b [INFO] running `Command { std: "docker" "start" "-a" "6d47c60a30b7dcb09a2d7b561fb297b726ac9fa6bbaa87ade4169c47c709d63b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling filters v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling libimagutil v0.10.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling libimagerror v0.10.1 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling toml-query_derive v0.9.2 [INFO] [stderr] Compiling toml-query v0.9.2 [INFO] [stderr] Compiling libimagstore v0.10.1 [INFO] [stderr] Compiling libimagentrylink v0.10.1 [INFO] [stderr] Compiling libimagentryutil v0.10.1 [INFO] [stderr] Compiling libimagentrycategory v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.76s [INFO] running `Command { std: "docker" "inspect" "6d47c60a30b7dcb09a2d7b561fb297b726ac9fa6bbaa87ade4169c47c709d63b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d47c60a30b7dcb09a2d7b561fb297b726ac9fa6bbaa87ade4169c47c709d63b", kill_on_drop: false }` [INFO] [stdout] 6d47c60a30b7dcb09a2d7b561fb297b726ac9fa6bbaa87ade4169c47c709d63b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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] 2483b75d39918f79b79e5f7d6e10cc504cdea8eb0f1d9cf13163d92bae901c4f [INFO] running `Command { std: "docker" "start" "-a" "2483b75d39918f79b79e5f7d6e10cc504cdea8eb0f1d9cf13163d92bae901c4f", kill_on_drop: false }` [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling libimagentrycategory v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(exists.is_ok(), format!("Expected Ok(_), got: {:?}", exists)); [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] 144 - assert!(exists.is_ok(), format!("Expected Ok(_), got: {:?}", exists)); [INFO] [stdout] 144 + assert!(exists.is_ok(), "Expected Ok(_), got: {:?}", exists); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [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] 156 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stdout] 156 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [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] 166 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stdout] 166 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [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] 171 - assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [INFO] [stdout] 171 + assert!(category.is_ok(), "Expected Ok(_), got: {:?}", category); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [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] 185 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stdout] 185 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [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] 192 - assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [INFO] [stdout] 192 + assert!(category.is_ok(), "Expected Ok(_), got: {:?}", category); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store.rs:199:39 [INFO] [stdout] | [INFO] [stdout] 199 | assert!(header_field.is_ok(), format!("Expected Ok(_), got: {:?}", header_field)); [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] 199 - assert!(header_field.is_ok(), format!("Expected Ok(_), got: {:?}", header_field)); [INFO] [stdout] 199 + assert!(header_field.is_ok(), "Expected Ok(_), got: {:?}", header_field); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "2483b75d39918f79b79e5f7d6e10cc504cdea8eb0f1d9cf13163d92bae901c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2483b75d39918f79b79e5f7d6e10cc504cdea8eb0f1d9cf13163d92bae901c4f", kill_on_drop: false }` [INFO] [stdout] 2483b75d39918f79b79e5f7d6e10cc504cdea8eb0f1d9cf13163d92bae901c4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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] 07a93531ca2efe269feb3e28d60dd3a0d7604d80e609f95e12726f76fab5e22f [INFO] running `Command { std: "docker" "start" "-a" "07a93531ca2efe269feb3e28d60dd3a0d7604d80e609f95e12726f76fab5e22f", 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] warning: panic message is not a string literal [INFO] [stderr] --> src/store.rs:144:33 [INFO] [stderr] | [INFO] [stderr] 144 | assert!(exists.is_ok(), format!("Expected Ok(_), got: {:?}", exists)); [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] 144 - assert!(exists.is_ok(), format!("Expected Ok(_), got: {:?}", exists)); [INFO] [stderr] 144 + assert!(exists.is_ok(), "Expected Ok(_), got: {:?}", exists); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/store.rs:156:30 [INFO] [stderr] | [INFO] [stderr] 156 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [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] 156 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stderr] 156 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/store.rs:166:34 [INFO] [stderr] | [INFO] [stderr] 166 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [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] 166 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stderr] 166 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/store.rs:171:35 [INFO] [stderr] | [INFO] [stderr] 171 | assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [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] 171 - assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [INFO] [stderr] 171 + assert!(category.is_ok(), "Expected Ok(_), got: {:?}", category); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/store.rs:185:34 [INFO] [stderr] | [INFO] [stderr] 185 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [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] 185 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stderr] 185 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/store.rs:192:35 [INFO] [stderr] | [INFO] [stderr] 192 | assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [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] 192 - assert!(category.is_ok(), format!("Expected Ok(_), got: {:?}", category)); [INFO] [stderr] 192 + assert!(category.is_ok(), "Expected Ok(_), got: {:?}", category); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/store.rs:199:39 [INFO] [stderr] | [INFO] [stderr] 199 | assert!(header_field.is_ok(), format!("Expected Ok(_), got: {:?}", header_field)); [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] 199 - assert!(header_field.is_ok(), format!("Expected Ok(_), got: {:?}", header_field)); [INFO] [stderr] 199 + assert!(header_field.is_ok(), "Expected Ok(_), got: {:?}", header_field); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `libimagentrycategory` (lib test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libimagentrycategory-abebe35f2d74e6f7) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test store::tests::test_non_existing_category_exists ... ok [INFO] [stdout] test store::tests::test_creating_category_creates_store_entry ... ok [INFO] [stdout] test store::tests::test_creating_category ... ok [INFO] [stdout] test store::tests::test_creating_category_creates_store_entry_with_header_field_set ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libimagentrycategory [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07a93531ca2efe269feb3e28d60dd3a0d7604d80e609f95e12726f76fab5e22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a93531ca2efe269feb3e28d60dd3a0d7604d80e609f95e12726f76fab5e22f", kill_on_drop: false }` [INFO] [stdout] 07a93531ca2efe269feb3e28d60dd3a0d7604d80e609f95e12726f76fab5e22f