[INFO] cloning repository https://github.com/rcalsaverini/toymarket.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rcalsaverini/toymarket.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcalsaverini%2Ftoymarket.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcalsaverini%2Ftoymarket.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d1ea84a692d8d24a122999725bf1564f11d6e36
[INFO] checking rcalsaverini/toymarket.rs against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcalsaverini%2Ftoymarket.rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rcalsaverini/toymarket.rs
[INFO] finished tweaking git repo https://github.com/rcalsaverini/toymarket.rs
[INFO] tweaked toml for git repo https://github.com/rcalsaverini/toymarket.rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rcalsaverini/toymarket.rs on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rcalsaverini/toymarket.rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.20
[INFO] [stderr]   Downloaded rand_core v0.9.1
[INFO] [stderr]   Downloaded unicode-ident v1.0.17
[INFO] [stderr]   Downloaded rand v0.9.0
[INFO] [stderr]   Downloaded zerocopy v0.8.20
[INFO] [stderr]   Downloaded simba v0.9.0
[INFO] [stderr]   Downloaded nalgebra v0.33.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752
[INFO] running `Command { std: "docker" "start" "6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling zerocopy v0.8.20
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking wide v0.7.32
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking rand_core v0.9.1
[INFO] [stderr]     Checking simba v0.9.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling nalgebra-macros v0.2.2
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking nalgebra v0.33.2
[INFO] [stderr]     Checking toymarket v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/agent/utils.rs:24:41
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn take_history<const D: usize>(data: &[f32]) -> SVector<f32, D> {
[INFO] [stdout]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LearningAgent` is never used
[INFO] [stdout]   --> src/agent/agent.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait LearningAgent<const D: usize>: Agent {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lambda` is never read
[INFO] [stdout]  --> src/agent/perceptron.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct PerceptronAgent<const D: usize> {
[INFO] [stdout]   |            --------------- field in this struct
[INFO] [stdout] 8 |     pub weights: SVector<f32, D>,
[INFO] [stdout] 9 |     lambda: f32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PerceptronAgent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]  --> src/agent/utils.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct History<'a, const D: usize> {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 4 |     data: &'a [f32],
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/agent/utils.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<const D: usize> History<'_, D> {
[INFO] [stdout]   | ----------------------------------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn new(data: &[f32]) -> History<D> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/agent/utils.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn new(data: &[f32]) -> History<D> {
[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] 8 |     pub fn new(data: &[f32]) -> History<'_, D> {
[INFO] [stdout]   |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/agent/utils.rs:24:41
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn take_history<const D: usize>(data: &[f32]) -> SVector<f32, D> {
[INFO] [stdout]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LearningAgent` is never used
[INFO] [stdout]   --> src/agent/agent.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait LearningAgent<const D: usize>: Agent {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lambda` is never read
[INFO] [stdout]  --> src/agent/perceptron.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct PerceptronAgent<const D: usize> {
[INFO] [stdout]   |            --------------- field in this struct
[INFO] [stdout] 8 |     pub weights: SVector<f32, D>,
[INFO] [stdout] 9 |     lambda: f32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PerceptronAgent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `History` is never constructed
[INFO] [stdout]  --> src/agent/utils.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct History<'a, const D: usize> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/agent/utils.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<const D: usize> History<'_, D> {
[INFO] [stdout]   | ----------------------------------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn new(data: &[f32]) -> History<D> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/agent/utils.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn new(data: &[f32]) -> History<D> {
[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] 8 |     pub fn new(data: &[f32]) -> History<'_, D> {
[INFO] [stdout]   |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.98s
[INFO] running `Command { std: "docker" "inspect" "6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752", kill_on_drop: false }`
[INFO] [stdout] 6f6494e2c5d5256c35a1710ba27f5fe5b8d0b1b581c2983bd887a7877075d752
