[INFO] fetching crate libimagentrycategory 0.10.1... [INFO] testing libimagentrycategory-0.10.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate libimagentrycategory 0.10.1 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libimagentrycategory 0.10.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 145 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.7) [INFO] [stderr] Adding toml-query v0.9.2 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b18d87b41e9370ba7316e0cb8d10d906c362b2cad4da71945ecd13df4caac8f [INFO] running `Command { std: "docker" "start" "-a" "8b18d87b41e9370ba7316e0cb8d10d906c362b2cad4da71945ecd13df4caac8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b18d87b41e9370ba7316e0cb8d10d906c362b2cad4da71945ecd13df4caac8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b18d87b41e9370ba7316e0cb8d10d906c362b2cad4da71945ecd13df4caac8f", kill_on_drop: false }` [INFO] [stdout] 8b18d87b41e9370ba7316e0cb8d10d906c362b2cad4da71945ecd13df4caac8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa51934539622cc27cfa069769c8365831236a4ea5f51e129af2ce81ca3b480d [INFO] running `Command { std: "docker" "start" "-a" "fa51934539622cc27cfa069769c8365831236a4ea5f51e129af2ce81ca3b480d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling libimagerror v0.10.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling libimagutil v0.10.1 [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 libimagentryutil v0.10.1 [INFO] [stderr] Compiling libimagentrylink v0.10.1 [INFO] [stderr] Compiling libimagentrycategory v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | fn all_category_names(&self) -> Result; [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn all_category_names(&self) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_category_by_name(&self, name: &str) -> Result>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn get_category_by_name(&self, name: &str) -> Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | fn all_category_names(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | fn all_category_names(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_category_by_name(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | fn get_category_by_name(&self, name: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.53s [INFO] running `Command { std: "docker" "inspect" "fa51934539622cc27cfa069769c8365831236a4ea5f51e129af2ce81ca3b480d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa51934539622cc27cfa069769c8365831236a4ea5f51e129af2ce81ca3b480d", kill_on_drop: false }` [INFO] [stdout] fa51934539622cc27cfa069769c8365831236a4ea5f51e129af2ce81ca3b480d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8d0cf2b2397156c864f7923ace50cb8e3d85c185ebaab2ba914679d3fe24d45 [INFO] running `Command { std: "docker" "start" "-a" "d8d0cf2b2397156c864f7923ace50cb8e3d85c185ebaab2ba914679d3fe24d45", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | fn all_category_names(&self) -> Result; [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn all_category_names(&self) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_category_by_name(&self, name: &str) -> Result>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn get_category_by_name(&self, name: &str) -> Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | fn all_category_names(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | fn all_category_names(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_category_by_name(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | fn get_category_by_name(&self, name: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libimagentrycategory v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | fn all_category_names(&self) -> Result; [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn all_category_names(&self) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_category_by_name(&self, name: &str) -> Result>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn get_category_by_name(&self, name: &str) -> Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | fn all_category_names(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | fn all_category_names(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_category_by_name(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | fn get_category_by_name(&self, name: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "d8d0cf2b2397156c864f7923ace50cb8e3d85c185ebaab2ba914679d3fe24d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d0cf2b2397156c864f7923ace50cb8e3d85c185ebaab2ba914679d3fe24d45", kill_on_drop: false }` [INFO] [stdout] d8d0cf2b2397156c864f7923ace50cb8e3d85c185ebaab2ba914679d3fe24d45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7bfdef6ff938ade15288c2380231d30bdad45af090d131da326a5607c2bc763 [INFO] running `Command { std: "docker" "start" "-a" "d7bfdef6ff938ade15288c2380231d30bdad45af090d131da326a5607c2bc763", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | fn all_category_names(&self) -> Result; [INFO] [stderr] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 50 | fn all_category_names(&self) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:52:29 [INFO] [stderr] | [INFO] [stderr] 52 | fn get_category_by_name(&self, name: &str) -> Result>; [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 52 | fn get_category_by_name(&self, name: &str) -> Result>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:108:27 [INFO] [stderr] | [INFO] [stderr] 108 | fn all_category_names(&self) -> Result { [INFO] [stderr] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | fn all_category_names(&self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:117:29 [INFO] [stderr] | [INFO] [stderr] 117 | fn get_category_by_name(&self, name: &str) -> Result> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 117 | fn get_category_by_name(&self, name: &str) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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) generated 4 warnings (run `cargo fix --lib -p libimagentrycategory` to apply 4 suggestions) [INFO] [stderr] warning: `libimagentrycategory` (lib test) generated 11 warnings (4 duplicates) (run `cargo fix --lib -p libimagentrycategory --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libimagentrycategory-05028be5f63a98b5) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test store::tests::test_creating_category ... ok [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_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" "d7bfdef6ff938ade15288c2380231d30bdad45af090d131da326a5607c2bc763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7bfdef6ff938ade15288c2380231d30bdad45af090d131da326a5607c2bc763", kill_on_drop: false }` [INFO] [stdout] d7bfdef6ff938ade15288c2380231d30bdad45af090d131da326a5607c2bc763