[INFO] cloning repository https://github.com/Ragarnoy/expert_system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ragarnoy/expert_system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRagarnoy%2Fexpert_system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRagarnoy%2Fexpert_system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 858d0f5ff12adb6f7e814849c6bcfd01f47c5305 [INFO] checking Ragarnoy/expert_system/858d0f5ff12adb6f7e814849c6bcfd01f47c5305 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRagarnoy%2Fexpert_system" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ragarnoy/expert_system on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ragarnoy/expert_system [INFO] finished tweaking git repo https://github.com/Ragarnoy/expert_system [INFO] tweaked toml for git repo https://github.com/Ragarnoy/expert_system written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ragarnoy/expert_system 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bedaf554c87387a31b14a70f679dca091da0fc358191ed9187ab98e2f06f8ae [INFO] running `Command { std: "docker" "start" "-a" "3bedaf554c87387a31b14a70f679dca091da0fc358191ed9187ab98e2f06f8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bedaf554c87387a31b14a70f679dca091da0fc358191ed9187ab98e2f06f8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bedaf554c87387a31b14a70f679dca091da0fc358191ed9187ab98e2f06f8ae", kill_on_drop: false }` [INFO] [stdout] 3bedaf554c87387a31b14a70f679dca091da0fc358191ed9187ab98e2f06f8ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7db246e1d0010eaab2ba86236166823a2a303294721ca2d08b7aaf78aa54e486 [INFO] running `Command { std: "docker" "start" "-a" "7db246e1d0010eaab2ba86236166823a2a303294721ca2d08b7aaf78aa54e486", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking expert_system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 'outer: for line in input.lines() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 'outer: for line in input.lines() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_operators_sorted_by_priority` found for struct `Operation` in the current scope [INFO] [stdout] --> src/rules.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let left_p = Operation::get_operators_sorted_by_priority(&left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Operation [INFO] [stdout] | -------------------- function or associated item `get_operators_sorted_by_priority` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_operators_sorted_by_priority` found for struct `Operation` in the current scope [INFO] [stdout] --> src/rules.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let right_p = Operation::get_operators_sorted_by_priority(&right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Operation [INFO] [stdout] | -------------------- function or associated item `get_operators_sorted_by_priority` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_operators_sorted_by_priority` found for struct `Operation` in the current scope [INFO] [stdout] --> src/rules.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let left_p = Operation::get_operators_sorted_by_priority(&left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Operation [INFO] [stdout] | -------------------- function or associated item `get_operators_sorted_by_priority` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/operation.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn resolve_as_conclusion(&self, rules: &Vec, known: &mut HashMap>, seen: &mut HashMap>, ... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `known` [INFO] [stdout] --> src/operation.rs:77:57 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn resolve_as_conclusion(&self, rules: &Vec, known: &mut HashMap>, seen: &mut HashMap>, ... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_known` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seen` [INFO] [stdout] --> src/operation.rs:77:98 [INFO] [stdout] | [INFO] [stdout] 77 | ...t HashMap>, seen: &mut HashMap>, result: bool) -> HashMap> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/token.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: &str, piorities: Vec<(usize, usize, Operators)>) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piorities` [INFO] [stdout] --> src/token.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: &str, piorities: Vec<(usize, usize, Operators)>) -> Result [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_operators_sorted_by_priority` found for struct `Operation` in the current scope [INFO] [stdout] --> src/rules.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let right_p = Operation::get_operators_sorted_by_priority(&right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Operation [INFO] [stdout] | -------------------- function or associated item `get_operators_sorted_by_priority` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oper` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut oper: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_oper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | for f in facts.iter() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut oper: Vec = Vec::new(); [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: `ret` [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(ret) => 1, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Err(error) => 0, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `expert_system` (bin "expert_system") due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/operation.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn resolve_as_conclusion(&self, rules: &Vec, known: &mut HashMap>, seen: &mut HashMap>, ... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `known` [INFO] [stdout] --> src/operation.rs:77:57 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn resolve_as_conclusion(&self, rules: &Vec, known: &mut HashMap>, seen: &mut HashMap>, ... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_known` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seen` [INFO] [stdout] --> src/operation.rs:77:98 [INFO] [stdout] | [INFO] [stdout] 77 | ...t HashMap>, seen: &mut HashMap>, result: bool) -> HashMap> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/token.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: &str, piorities: Vec<(usize, usize, Operators)>) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piorities` [INFO] [stdout] --> src/token.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: &str, piorities: Vec<(usize, usize, Operators)>) -> Result [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oper` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut oper: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_oper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | for f in facts.iter() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut oper: Vec = Vec::new(); [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: `ret` [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(ret) => 1, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Err(error) => 0, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `expert_system` (bin "expert_system" test) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7db246e1d0010eaab2ba86236166823a2a303294721ca2d08b7aaf78aa54e486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db246e1d0010eaab2ba86236166823a2a303294721ca2d08b7aaf78aa54e486", kill_on_drop: false }` [INFO] [stdout] 7db246e1d0010eaab2ba86236166823a2a303294721ca2d08b7aaf78aa54e486