[INFO] fetching crate reductionml-core 0.1.0... [INFO] checking reductionml-core-0.1.0 against master#82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 for pr-150408 [INFO] extracting crate reductionml-core 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate reductionml-core 0.1.0 [INFO] finished tweaking crates.io crate reductionml-core 0.1.0 [INFO] tweaked toml for crates.io crate reductionml-core 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reductionml-core 0.1.0 on toolchain 82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "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" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "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 78 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.1.1) [INFO] [stderr] Adding flexbuffers v2.0.0 (available: v25.12.19) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.2.0) [INFO] [stderr] Adding serde_default v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding serde_json_borrow v0.1.4 (available: v0.9.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding twox-hash v1.6.3 (available: v2.1.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_default v0.1.0 [INFO] [stderr] Downloaded serde_json_borrow v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22ad6a775364387bec5e819b734015ae14c0345b31cc0c9321217aac9e941797 [INFO] running `Command { std: "docker" "start" "-a" "22ad6a775364387bec5e819b734015ae14c0345b31cc0c9321217aac9e941797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22ad6a775364387bec5e819b734015ae14c0345b31cc0c9321217aac9e941797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ad6a775364387bec5e819b734015ae14c0345b31cc0c9321217aac9e941797", kill_on_drop: false }` [INFO] [stdout] 22ad6a775364387bec5e819b734015ae14c0345b31cc0c9321217aac9e941797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a141a06b63bf50e1584c3280f46627b2472f582fc27f8418eee177eb8f10af42 [INFO] running `Command { std: "docker" "start" "-a" "a141a06b63bf50e1584c3280f46627b2472f582fc27f8418eee177eb8f10af42", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking erased-serde v0.4.9 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_default v0.1.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling typetag-impl v0.2.21 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_json_borrow v0.1.4 [INFO] [stderr] Checking flexbuffers v2.0.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking reductionml-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/reduction_registry.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/reduction_registry.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/parsers/text_parser.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | chunk: &'a str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/parsers/text_parser.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | chunk: &'a str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PredOutcome` is never constructed [INFO] [stdout] --> src/reductions/coin.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | struct PredOutcome(f32, f32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/vw_text_parser.rs:284:32 [INFO] [stdout] | [INFO] [stdout] 284 | fn parse_namespace_info(input: &str) -> Result<(&str, (ParsedNamespaceInfo, f32))> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 284 | fn parse_namespace_info(input: &str) -> Result<(&str, (ParsedNamespaceInfo<'_>, f32))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/vw_text_parser.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | namespace_segment: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 302 | ) -> Result<(ParsedNamespaceInfo, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | 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] 302 | ) -> Result<(ParsedNamespaceInfo<'_>, Vec>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sparse_namespaced_features.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter(&self) -> NamespaceIterator { [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] 92 | pub fn iter(&self) -> NamespaceIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sparse_namespaced_features.rs:264:23 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn namespaces(&self) -> NamespacesIterator { [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] 264 | pub fn namespaces(&self) -> NamespacesIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PredOutcome` is never constructed [INFO] [stdout] --> src/reductions/coin.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | struct PredOutcome(f32, f32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/vw_text_parser.rs:284:32 [INFO] [stdout] | [INFO] [stdout] 284 | fn parse_namespace_info(input: &str) -> Result<(&str, (ParsedNamespaceInfo, f32))> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 284 | fn parse_namespace_info(input: &str) -> Result<(&str, (ParsedNamespaceInfo<'_>, f32))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/vw_text_parser.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | namespace_segment: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 302 | ) -> Result<(ParsedNamespaceInfo, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | 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] 302 | ) -> Result<(ParsedNamespaceInfo<'_>, Vec>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sparse_namespaced_features.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter(&self) -> NamespaceIterator { [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] 92 | pub fn iter(&self) -> NamespaceIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sparse_namespaced_features.rs:264:23 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn namespaces(&self) -> NamespacesIterator { [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] 264 | pub fn namespaces(&self) -> NamespacesIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/cb.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | for mut learner in learners.iter_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/cb.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | fn context(i: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> tests/cb.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | fn chosen(context: &str, i: i32) -> (i32, f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> tests/cb.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | fn r(context: &str, action: &str, i: i32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/cb.rs:249:39 [INFO] [stdout] | [INFO] [stdout] 249 | fn r(context: &str, action: &str, i: i32) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> tests/cb.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | fn chosen(context: &str, i: i32) -> (i32, f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/cb.rs:300:39 [INFO] [stdout] | [INFO] [stdout] 300 | fn r(context: &str, action: &str, i: i32) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> tests/cb.rs:360:15 [INFO] [stdout] | [INFO] [stdout] 360 | fn chosen(context: &str, i: i32) -> (i32, f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.42s [INFO] running `Command { std: "docker" "inspect" "a141a06b63bf50e1584c3280f46627b2472f582fc27f8418eee177eb8f10af42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a141a06b63bf50e1584c3280f46627b2472f582fc27f8418eee177eb8f10af42", kill_on_drop: false }` [INFO] [stdout] a141a06b63bf50e1584c3280f46627b2472f582fc27f8418eee177eb8f10af42