[INFO] cloning repository https://github.com/wooningeire/sillymarket-evo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wooningeire/sillymarket-evo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwooningeire%2Fsillymarket-evo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwooningeire%2Fsillymarket-evo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f56a7f2d947cc562374350e5f492928b558b887 [INFO] building wooningeire/sillymarket-evo against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwooningeire%2Fsillymarket-evo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wooningeire/sillymarket-evo on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wooningeire/sillymarket-evo [INFO] finished tweaking git repo https://github.com/wooningeire/sillymarket-evo [INFO] tweaked toml for git repo https://github.com/wooningeire/sillymarket-evo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wooningeire/sillymarket-evo 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_pcg v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db7646288f9634c57fbeb2ddcf9bd88fdd8ede00662bb9bdb997c5b1f8de39f2 [INFO] running `Command { std: "docker" "start" "-a" "db7646288f9634c57fbeb2ddcf9bd88fdd8ede00662bb9bdb997c5b1f8de39f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db7646288f9634c57fbeb2ddcf9bd88fdd8ede00662bb9bdb997c5b1f8de39f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7646288f9634c57fbeb2ddcf9bd88fdd8ede00662bb9bdb997c5b1f8de39f2", kill_on_drop: false }` [INFO] [stdout] db7646288f9634c57fbeb2ddcf9bd88fdd8ede00662bb9bdb997c5b1f8de39f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3b2029c8489703c2e225d1fefb3c8b2d2cb589a287e7a13f27bc1ddf9b15ef8 [INFO] running `Command { std: "docker" "start" "-a" "b3b2029c8489703c2e225d1fefb3c8b2d2cb589a287e7a13f27bc1ddf9b15ef8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_pcg v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling sillymarket-evo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random_range` [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `vec` [INFO] [stdout] --> src/simulator/market_simulation/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::state::Portfolio` [INFO] [stdout] --> src/simulator/market_simulation/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use entity::state::Portfolio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let mut inputs: Vec = vec![Value::Int(next_price)]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | fn reproduce(&self, other: &Entity) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simulator/market_simulation/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | for (i, entity) in self.entities.iter().take(5).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance_history` is never read [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ProgramState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | balance_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_mate`, `reproduce`, `offspring`, and `debug_dna` are never used [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 389 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 421 | fn select_mate<'a>(&self, all_programs: &'a Vec) -> &'a Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | fn reproduce(&self, other: &Entity) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn offspring(&self, all_programs: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn debug_dna(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_balance` and `get_n_owned_shares` are never used [INFO] [stdout] --> src/simulator/market_simulation/entity/state.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Portfolio { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_balance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_n_owned_shares(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] running `Command { std: "docker" "inspect" "b3b2029c8489703c2e225d1fefb3c8b2d2cb589a287e7a13f27bc1ddf9b15ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b2029c8489703c2e225d1fefb3c8b2d2cb589a287e7a13f27bc1ddf9b15ef8", kill_on_drop: false }` [INFO] [stdout] b3b2029c8489703c2e225d1fefb3c8b2d2cb589a287e7a13f27bc1ddf9b15ef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 788f05c378807f17b2b0c3ee56396b441be44194e3b204926ac20e959802f8b5 [INFO] running `Command { std: "docker" "start" "-a" "788f05c378807f17b2b0c3ee56396b441be44194e3b204926ac20e959802f8b5", kill_on_drop: false }` [INFO] [stderr] Compiling sillymarket-evo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random_range` [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `vec` [INFO] [stdout] --> src/simulator/market_simulation/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::state::Portfolio` [INFO] [stdout] --> src/simulator/market_simulation/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use entity::state::Portfolio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let mut inputs: Vec = vec![Value::Int(next_price)]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | fn reproduce(&self, other: &Entity) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simulator/market_simulation/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | for (i, entity) in self.entities.iter().take(5).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance_history` is never read [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ProgramState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | balance_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_mate`, `reproduce`, `offspring`, and `debug_dna` are never used [INFO] [stdout] --> src/simulator/market_simulation/entity/mod.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 389 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 421 | fn select_mate<'a>(&self, all_programs: &'a Vec) -> &'a Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | fn reproduce(&self, other: &Entity) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn offspring(&self, all_programs: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn debug_dna(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_balance` and `get_n_owned_shares` are never used [INFO] [stdout] --> src/simulator/market_simulation/entity/state.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Portfolio { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_balance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_n_owned_shares(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "788f05c378807f17b2b0c3ee56396b441be44194e3b204926ac20e959802f8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788f05c378807f17b2b0c3ee56396b441be44194e3b204926ac20e959802f8b5", kill_on_drop: false }` [INFO] [stdout] 788f05c378807f17b2b0c3ee56396b441be44194e3b204926ac20e959802f8b5