[INFO] cloning repository https://github.com/jawline/mdp [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jawline/mdp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Fmdp"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Fmdp'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cf4618d31e21c93e57bfc8082970147d3ef1f769 [INFO] testing jawline/mdp against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Fmdp" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jawline/mdp on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jawline/mdp [INFO] finished tweaking git repo https://github.com/jawline/mdp [INFO] tweaked toml for git repo https://github.com/jawline/mdp written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/jawline/mdp already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 162d31a197e27f3907c42755af8b89f797e5d7ba595fe2cce09c8fc722ddf6f3 [INFO] running `"docker" "start" "-a" "162d31a197e27f3907c42755af8b89f797e5d7ba595fe2cce09c8fc722ddf6f3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling rand v0.5.4 [INFO] [stderr] Compiling markov v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/matrix/mod.rs:13:46 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn print_matrix(mat: &Matrix) { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Matrix` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `GreedyAgent` [INFO] [stderr] --> src/main.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use strategies::greedy::{ GreedyAgent }; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MarkovChainAgent` [INFO] [stderr] --> src/main.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | use strategies::markov::{ MarkovChainAgent }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/greedy.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/greedy.rs:26:72 [INFO] [stderr] | [INFO] [stderr] 26 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/greedy.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/strategies/greedy.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/greedy.rs:32:67 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/greedy.rs:32:80 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reward` [INFO] [stderr] --> src/strategies/greedy.rs:32:91 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/greedy.rs:32:104 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/markov.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/markov.rs:36:72 [INFO] [stderr] | [INFO] [stderr] 36 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/markov.rs:42:30 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/strategies/markov.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/markov.rs:42:67 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/markov.rs:42:80 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reward` [INFO] [stderr] --> src/strategies/markov.rs:42:91 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/markov.rs:42:104 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:60 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:54:72 [INFO] [stderr] | [INFO] [stderr] 54 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:58:30 [INFO] [stderr] | [INFO] [stderr] 58 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:58:104 [INFO] [stderr] | [INFO] [stderr] 58 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/matrix/dense.rs:11:2 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(default: T, width: usize, height: usize) -> DenseMatrix { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 26 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `"docker" "inspect" "162d31a197e27f3907c42755af8b89f797e5d7ba595fe2cce09c8fc722ddf6f3"` [INFO] running `"docker" "rm" "-f" "162d31a197e27f3907c42755af8b89f797e5d7ba595fe2cce09c8fc722ddf6f3"` [INFO] [stdout] 162d31a197e27f3907c42755af8b89f797e5d7ba595fe2cce09c8fc722ddf6f3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5caef11a87e23db66bdc2d79e7394f8bdbd34419caf09bc14b1cf8c9ce79ab7e [INFO] running `"docker" "start" "-a" "5caef11a87e23db66bdc2d79e7394f8bdbd34419caf09bc14b1cf8c9ce79ab7e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling markov v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/matrix/mod.rs:13:46 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn print_matrix(mat: &Matrix) { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Matrix` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `GreedyAgent` [INFO] [stderr] --> src/main.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use strategies::greedy::{ GreedyAgent }; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MarkovChainAgent` [INFO] [stderr] --> src/main.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | use strategies::markov::{ MarkovChainAgent }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/greedy.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/greedy.rs:26:72 [INFO] [stderr] | [INFO] [stderr] 26 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/greedy.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/strategies/greedy.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/greedy.rs:32:67 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/greedy.rs:32:80 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reward` [INFO] [stderr] --> src/strategies/greedy.rs:32:91 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/greedy.rs:32:104 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/markov.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/markov.rs:36:72 [INFO] [stderr] | [INFO] [stderr] 36 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/markov.rs:42:30 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/strategies/markov.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/markov.rs:42:67 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/markov.rs:42:80 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reward` [INFO] [stderr] --> src/strategies/markov.rs:42:91 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/markov.rs:42:104 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:60 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:54:72 [INFO] [stderr] | [INFO] [stderr] 54 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:58:30 [INFO] [stderr] | [INFO] [stderr] 58 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:58:104 [INFO] [stderr] | [INFO] [stderr] 58 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/matrix/dense.rs:11:2 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(default: T, width: usize, height: usize) -> DenseMatrix { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 26 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `"docker" "inspect" "5caef11a87e23db66bdc2d79e7394f8bdbd34419caf09bc14b1cf8c9ce79ab7e"` [INFO] running `"docker" "rm" "-f" "5caef11a87e23db66bdc2d79e7394f8bdbd34419caf09bc14b1cf8c9ce79ab7e"` [INFO] [stdout] 5caef11a87e23db66bdc2d79e7394f8bdbd34419caf09bc14b1cf8c9ce79ab7e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ae840a10d096e6cc173b99dadc2d16eb491ae0b30a852bf485684bddd862e24 [INFO] running `"docker" "start" "-a" "5ae840a10d096e6cc173b99dadc2d16eb491ae0b30a852bf485684bddd862e24"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/matrix/mod.rs:13:46 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn print_matrix(mat: &Matrix) { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Matrix` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `GreedyAgent` [INFO] [stderr] --> src/main.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use strategies::greedy::{ GreedyAgent }; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MarkovChainAgent` [INFO] [stderr] --> src/main.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | use strategies::markov::{ MarkovChainAgent }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/greedy.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/greedy.rs:26:72 [INFO] [stderr] | [INFO] [stderr] 26 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/greedy.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/strategies/greedy.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/greedy.rs:32:67 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/greedy.rs:32:80 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reward` [INFO] [stderr] --> src/strategies/greedy.rs:32:91 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/greedy.rs:32:104 [INFO] [stderr] | [INFO] [stderr] 32 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/markov.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/markov.rs:36:72 [INFO] [stderr] | [INFO] [stderr] 36 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/markov.rs:42:30 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/strategies/markov.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/markov.rs:42:67 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/markov.rs:42:80 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reward` [INFO] [stderr] --> src/strategies/markov.rs:42:91 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/markov.rs:42:104 [INFO] [stderr] | [INFO] [stderr] 42 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:11:60 [INFO] [stderr] | [INFO] [stderr] 11 | fn try_transfer(&self, process: &Process, from: usize, to: usize) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:54:72 [INFO] [stderr] | [INFO] [stderr] 54 | fn select_reward(&self, process: &Process, from: usize, to: usize, success: bool) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:58:30 [INFO] [stderr] | [INFO] [stderr] 58 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/strategies/reinforcement/naive.rs:58:104 [INFO] [stderr] | [INFO] [stderr] 58 | fn punish_action(&mut self, process: &Process, state: &State, from: usize, to: usize, reward: f32, success: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/matrix/dense.rs:11:2 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(default: T, width: usize, height: usize) -> DenseMatrix { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 26 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/markov-e62c7b23e68a2117 [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "5ae840a10d096e6cc173b99dadc2d16eb491ae0b30a852bf485684bddd862e24"` [INFO] running `"docker" "rm" "-f" "5ae840a10d096e6cc173b99dadc2d16eb491ae0b30a852bf485684bddd862e24"` [INFO] [stdout] 5ae840a10d096e6cc173b99dadc2d16eb491ae0b30a852bf485684bddd862e24