[INFO] fetching crate libimagentrycategory 0.10.1... [INFO] testing libimagentrycategory-0.10.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 161 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.5) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59527b156bb62d3ce6c22c9bb2b4fa4fed04a6ab74c101ca8e0765452c6d4852 [INFO] running `Command { std: "docker" "start" "-a" "59527b156bb62d3ce6c22c9bb2b4fa4fed04a6ab74c101ca8e0765452c6d4852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59527b156bb62d3ce6c22c9bb2b4fa4fed04a6ab74c101ca8e0765452c6d4852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59527b156bb62d3ce6c22c9bb2b4fa4fed04a6ab74c101ca8e0765452c6d4852", kill_on_drop: false }` [INFO] [stdout] 59527b156bb62d3ce6c22c9bb2b4fa4fed04a6ab74c101ca8e0765452c6d4852 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 149953e9f3f4f5b9095a59ca5596e98a05bb8b141b7442cafd655e2f0ac777e9 [INFO] running `Command { std: "docker" "start" "-a" "149953e9f3f4f5b9095a59ca5596e98a05bb8b141b7442cafd655e2f0ac777e9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling filters v0.3.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling toml-query_derive v0.9.2 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling libimagerror v0.10.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling libimagutil v0.10.1 [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 25.86s [INFO] running `Command { std: "docker" "inspect" "149953e9f3f4f5b9095a59ca5596e98a05bb8b141b7442cafd655e2f0ac777e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149953e9f3f4f5b9095a59ca5596e98a05bb8b141b7442cafd655e2f0ac777e9", kill_on_drop: false }` [INFO] [stdout] 149953e9f3f4f5b9095a59ca5596e98a05bb8b141b7442cafd655e2f0ac777e9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c5c857bc124219900118da4982d4b689adb9292a89452dd18ab59638dc9920d [INFO] running `Command { std: "docker" "start" "-a" "2c5c857bc124219900118da4982d4b689adb9292a89452dd18ab59638dc9920d", 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] [stderr] Compiling atty v0.2.14 [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 1.94s [INFO] running `Command { std: "docker" "inspect" "2c5c857bc124219900118da4982d4b689adb9292a89452dd18ab59638dc9920d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5c857bc124219900118da4982d4b689adb9292a89452dd18ab59638dc9920d", kill_on_drop: false }` [INFO] [stdout] 2c5c857bc124219900118da4982d4b689adb9292a89452dd18ab59638dc9920d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e594fb5229a4c3d6ae7dd74d43f15c9d830caff2cef64d018b8375dafd9afe46 [INFO] running `Command { std: "docker" "start" "-a" "e594fb5229a4c3d6ae7dd74d43f15c9d830caff2cef64d018b8375dafd9afe46", 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.13s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libimagentrycategory-3b7e4ab26ac6fe28) [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_with_header_field_set ... ok [INFO] [stdout] test store::tests::test_creating_category_creates_store_entry ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "e594fb5229a4c3d6ae7dd74d43f15c9d830caff2cef64d018b8375dafd9afe46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e594fb5229a4c3d6ae7dd74d43f15c9d830caff2cef64d018b8375dafd9afe46", kill_on_drop: false }` [INFO] [stdout] e594fb5229a4c3d6ae7dd74d43f15c9d830caff2cef64d018b8375dafd9afe46