[INFO] fetching crate libimagentrycategory 0.10.1... [INFO] testing libimagentrycategory-0.10.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate libimagentrycategory 0.10.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libimagentrycategory 0.10.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 143 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.8) [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_core v0.8.6 [INFO] [stderr] Downloaded libimagstore v0.10.1 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded libimagentrylink v0.10.1 [INFO] [stderr] Downloaded filters v0.3.0 [INFO] [stderr] Downloaded darling v0.8.6 [INFO] [stderr] Downloaded libimagentryutil v0.10.1 [INFO] [stderr] Downloaded libimagerror v0.10.1 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded libimagutil v0.10.1 [INFO] [stderr] Downloaded is-match v0.1.0 [INFO] [stderr] Downloaded darling_macro v0.8.6 [INFO] [stderr] Downloaded toml-query_derive v0.9.2 [INFO] [stderr] Downloaded toml-query v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7efafba01345db261622c3a5cf60fc0529c8a2d6ddbdf52d6865c24327e96051 [INFO] running `Command { std: "docker" "start" "-a" "7efafba01345db261622c3a5cf60fc0529c8a2d6ddbdf52d6865c24327e96051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7efafba01345db261622c3a5cf60fc0529c8a2d6ddbdf52d6865c24327e96051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7efafba01345db261622c3a5cf60fc0529c8a2d6ddbdf52d6865c24327e96051", kill_on_drop: false }` [INFO] [stdout] 7efafba01345db261622c3a5cf60fc0529c8a2d6ddbdf52d6865c24327e96051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d001dea336f38c12899536fa4dd577e8fdd0ba8740a9af793725091c7b0fca1c [INFO] running `Command { std: "docker" "start" "-a" "d001dea336f38c12899536fa4dd577e8fdd0ba8740a9af793725091c7b0fca1c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling filters v0.3.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tempfile v3.23.0 [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 toml v0.5.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling libimagutil v0.10.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling libimagerror v0.10.1 [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] [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 14.63s [INFO] running `Command { std: "docker" "inspect" "d001dea336f38c12899536fa4dd577e8fdd0ba8740a9af793725091c7b0fca1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d001dea336f38c12899536fa4dd577e8fdd0ba8740a9af793725091c7b0fca1c", kill_on_drop: false }` [INFO] [stdout] d001dea336f38c12899536fa4dd577e8fdd0ba8740a9af793725091c7b0fca1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d58217d99c282c2a5fc37f92f71ba90d2af1d07da49e6174ae42aa9bae5e194a [INFO] running `Command { std: "docker" "start" "-a" "d58217d99c282c2a5fc37f92f71ba90d2af1d07da49e6174ae42aa9bae5e194a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling quick-error v1.2.3 [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 humantime v1.3.0 [INFO] [stderr] Compiling env_logger v0.7.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] [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.21s [INFO] running `Command { std: "docker" "inspect" "d58217d99c282c2a5fc37f92f71ba90d2af1d07da49e6174ae42aa9bae5e194a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58217d99c282c2a5fc37f92f71ba90d2af1d07da49e6174ae42aa9bae5e194a", kill_on_drop: false }` [INFO] [stdout] d58217d99c282c2a5fc37f92f71ba90d2af1d07da49e6174ae42aa9bae5e194a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb2dc134c47d19e9aecaf69ac8b5da0e7cd7beec44ceaf635e17fac3f9e8cbdd [INFO] running `Command { std: "docker" "start" "-a" "eb2dc134c47d19e9aecaf69ac8b5da0e7cd7beec44ceaf635e17fac3f9e8cbdd", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libimagentrycategory-8f19b97356398e0d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test store::tests::test_creating_category_creates_store_entry ... ok [INFO] [stdout] test store::tests::test_non_existing_category_exists ... 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" "eb2dc134c47d19e9aecaf69ac8b5da0e7cd7beec44ceaf635e17fac3f9e8cbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2dc134c47d19e9aecaf69ac8b5da0e7cd7beec44ceaf635e17fac3f9e8cbdd", kill_on_drop: false }` [INFO] [stdout] eb2dc134c47d19e9aecaf69ac8b5da0e7cd7beec44ceaf635e17fac3f9e8cbdd