[INFO] fetching crate reductionml-core 0.1.0... [INFO] testing reductionml-core-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate reductionml-core 0.1.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reductionml-core 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding flexbuffers v2.0.0 (available: v25.9.23) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.1.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ab0b355aa5542b10ffdf29d719b833a1d30630d462df43de6360abb8983e18 [INFO] running `Command { std: "docker" "start" "-a" "b8ab0b355aa5542b10ffdf29d719b833a1d30630d462df43de6360abb8983e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ab0b355aa5542b10ffdf29d719b833a1d30630d462df43de6360abb8983e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ab0b355aa5542b10ffdf29d719b833a1d30630d462df43de6360abb8983e18", kill_on_drop: false }` [INFO] [stdout] b8ab0b355aa5542b10ffdf29d719b833a1d30630d462df43de6360abb8983e18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ac4c9ffd3d21cee430f46e55fa778d3fb4222c9bf5a1157289cabf711552f87 [INFO] running `Command { std: "docker" "start" "-a" "8ac4c9ffd3d21cee430f46e55fa778d3fb4222c9bf5a1157289cabf711552f87", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling serde_default v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fast-float v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typetag-impl v0.2.21 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling flexbuffers v2.0.0 [INFO] [stderr] Compiling serde_json_borrow v0.1.4 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.14s [INFO] running `Command { std: "docker" "inspect" "8ac4c9ffd3d21cee430f46e55fa778d3fb4222c9bf5a1157289cabf711552f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac4c9ffd3d21cee430f46e55fa778d3fb4222c9bf5a1157289cabf711552f87", kill_on_drop: false }` [INFO] [stdout] 8ac4c9ffd3d21cee430f46e55fa778d3fb4222c9bf5a1157289cabf711552f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7dc255890ce9d0cca2601932763a698c652052ce563f6b7719ba41e878f1246 [INFO] running `Command { std: "docker" "start" "-a" "a7dc255890ce9d0cca2601932763a698c652052ce563f6b7719ba41e878f1246", kill_on_drop: false }` [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: 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] [stderr] Compiling reductionml-core v0.1.0 (/opt/rustwide/workdir) [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] [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.17s [INFO] running `Command { std: "docker" "inspect" "a7dc255890ce9d0cca2601932763a698c652052ce563f6b7719ba41e878f1246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7dc255890ce9d0cca2601932763a698c652052ce563f6b7719ba41e878f1246", kill_on_drop: false }` [INFO] [stdout] a7dc255890ce9d0cca2601932763a698c652052ce563f6b7719ba41e878f1246 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc8200eed58b7f16fd319803a49b6e87d161d71e5717d33f78c60d849fac8aeb [INFO] running `Command { std: "docker" "start" "-a" "fc8200eed58b7f16fd319803a49b6e87d161d71e5717d33f78c60d849fac8aeb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/reduction_registry.rs:1:34 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `chunk` [INFO] [stderr] --> src/parsers/text_parser.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | chunk: &'a str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PredOutcome` is never constructed [INFO] [stderr] --> src/reductions/coin.rs:283:8 [INFO] [stderr] | [INFO] [stderr] 283 | struct PredOutcome(f32, f32); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parsers/vw_text_parser.rs:284:32 [INFO] [stderr] | [INFO] [stderr] 284 | fn parse_namespace_info(input: &str) -> Result<(&str, (ParsedNamespaceInfo, f32))> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [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] 284 | fn parse_namespace_info(input: &str) -> Result<(&str, (ParsedNamespaceInfo<'_>, f32))> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parsers/vw_text_parser.rs:301:24 [INFO] [stderr] | [INFO] [stderr] 301 | namespace_segment: &str, [INFO] [stderr] | ^^^^ the lifetime is elided here [INFO] [stderr] 302 | ) -> Result<(ParsedNamespaceInfo, Vec)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | 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] 302 | ) -> Result<(ParsedNamespaceInfo<'_>, Vec>)> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sparse_namespaced_features.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn iter(&self) -> NamespaceIterator { [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] 92 | pub fn iter(&self) -> NamespaceIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sparse_namespaced_features.rs:264:23 [INFO] [stderr] | [INFO] [stderr] 264 | pub fn namespaces(&self) -> NamespacesIterator { [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] 264 | pub fn namespaces(&self) -> NamespacesIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `reductionml-core` (lib) generated 7 warnings (run `cargo fix --lib -p reductionml-core` to apply 6 suggestions) [INFO] [stderr] warning: `reductionml-core` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/cb.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 197 | for mut learner in learners.iter_mut() { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> tests/cb.rs:243:16 [INFO] [stderr] | [INFO] [stderr] 243 | fn context(i: i32) -> String { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> tests/cb.rs:246:15 [INFO] [stderr] | [INFO] [stderr] 246 | fn chosen(context: &str, i: i32) -> (i32, f32) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> tests/cb.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | fn r(context: &str, action: &str, i: i32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> tests/cb.rs:249:39 [INFO] [stderr] | [INFO] [stderr] 249 | fn r(context: &str, action: &str, i: i32) -> f32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> tests/cb.rs:297:15 [INFO] [stderr] | [INFO] [stderr] 297 | fn chosen(context: &str, i: i32) -> (i32, f32) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> tests/cb.rs:300:39 [INFO] [stderr] | [INFO] [stderr] 300 | fn r(context: &str, action: &str, i: i32) -> f32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> tests/cb.rs:360:15 [INFO] [stderr] | [INFO] [stderr] 360 | fn chosen(context: &str, i: i32) -> (i32, f32) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: `reductionml-core` (test "cb") generated 8 warnings (run `cargo fix --test "cb" -p reductionml-core` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reductionml_core-c7b2de8b07bb9fca) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test object_pool::tests::test_pool ... ok [INFO] [stdout] test parsers::vw_text_parser::tests::chunk_multiline ... ok [INFO] [stdout] test parsers::vw_text_parser::tests::chunk_singleline ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_equal_to_amt ... ok [INFO] [stdout] test parsers::dsjson_parser::test::extract_dsjson_test_chain_hash ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_bug_incl_zero ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_no_zeros ... ok [INFO] [stdout] test dense_weights::tests::test_num_bits_to_represent ... ok [INFO] [stdout] test parsers::json_parser::test::json_parse_simple ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_uniform ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_uniform1 ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_uniform2 ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_uniform_unsorted ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_zero_epsilon_consider ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_zero_epsilon_dont_consider ... ok [INFO] [stdout] test reductions::coin::tests::test_coin_betting_predict ... ok [INFO] [stdout] test reductions::coin::tests::test_learning ... ok [INFO] [stdout] test dense_weights::tests::weights_roundtrip ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_all_zeros_and_consider ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability ... ok [INFO] [stdout] test parsers::json_parser::test::json_parse_cb ... ok [INFO] [stdout] test workspace::tests::test_create_workspace ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_all_zeros_and_dont_consider ... ok [INFO] [stdout] test dense_weights::tests::weights_equality ... ok [INFO] [stdout] test reductions::coin::tests::test_learning_const ... ok [INFO] [stdout] test reductions::cb_explore_adf_squarecb::tests::test_enforce_minimum_probability_bad_range - should panic ... ok [INFO] [stdout] test reductions::coin::tests::test_learning_linear ... ok [INFO] [stdout] test reductions::coin::tests::test_learning_quadratic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] [stderr] Running tests/cb.rs (/opt/rustwide/target/debug/deps/cb-5a666598dd7e9959) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_greedy_predict_json ... ok [INFO] [stdout] test test_greedy_predict ... ok [INFO] [stdout] test test_cb_stationary_deterministic_actions_with_personalization ... ok [INFO] [stdout] test test_cb_stationary_deterministic_actions_single_context ... ok [INFO] [stdout] test test_cb_nonstationary_deterministic_actions_with_personalization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stderr] Doc-tests reductionml_core [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" "fc8200eed58b7f16fd319803a49b6e87d161d71e5717d33f78c60d849fac8aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc8200eed58b7f16fd319803a49b6e87d161d71e5717d33f78c60d849fac8aeb", kill_on_drop: false }` [INFO] [stdout] fc8200eed58b7f16fd319803a49b6e87d161d71e5717d33f78c60d849fac8aeb