[INFO] cloning repository https://github.com/Crumbed/CAS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Crumbed/CAS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrumbed%2FCAS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrumbed%2FCAS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32a5bb8106a15ad336a6160e95ce27affe8f847f [INFO] building Crumbed/CAS against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrumbed%2FCAS" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Crumbed/CAS on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Crumbed/CAS [INFO] finished tweaking git repo https://github.com/Crumbed/CAS [INFO] tweaked toml for git repo https://github.com/Crumbed/CAS written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Crumbed/CAS 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b116fffab426c26869911e74c1d590279bd48a42defe626c5f062752d1bbc55 [INFO] running `Command { std: "docker" "start" "-a" "1b116fffab426c26869911e74c1d590279bd48a42defe626c5f062752d1bbc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b116fffab426c26869911e74c1d590279bd48a42defe626c5f062752d1bbc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b116fffab426c26869911e74c1d590279bd48a42defe626c5f062752d1bbc55", kill_on_drop: false }` [INFO] [stdout] 1b116fffab426c26869911e74c1d590279bd48a42defe626c5f062752d1bbc55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233876d24f6fe86c462b7b3f01ced67c5e124279b68e85c05e05a36fee37dc72 [INFO] running `Command { std: "docker" "start" "-a" "233876d24f6fe86c462b7b3f01ced67c5e124279b68e85c05e05a36fee37dc72", kill_on_drop: false }` [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `equation` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod equation; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `equation`, create file "src/equation.rs" or "src/equation/mod.rs" [INFO] [stdout] = note: if there is a `mod equation` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `err` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `err`, create file "src/err.rs" or "src/err/mod.rs" [INFO] [stdout] = note: if there is a `mod err` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/interpreter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/interpreter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VarUndefined` in this scope [INFO] [stdout] --> src/interpreter.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | None => Err(VarUndefined(var.id.clone())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnUndefined` in this scope [INFO] [stdout] --> src/interpreter.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | None => Err(FnUndefined(id.to_string(), args.len())) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnUndefined` in this scope [INFO] [stdout] --> src/interpreter.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | if !is_fn { return Err(FnUndefined("".into(), 0)); } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidFnDec` in this scope [INFO] [stdout] --> src/interpreter.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | if !valid { return Err(InvalidFnDec(values)); } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidFnDec` in this scope [INFO] [stdout] --> src/interpreter.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | _ => return Err(InvalidFnDec(vec!["Expression".into()])) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SolveFor` in this scope [INFO] [stdout] --> src/interpreter.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | return Err(SolveFor("Unable to solve for variables because all variables have already been declared".into())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VarUndefined` in this scope [INFO] [stdout] --> src/interpreter.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | None => Err(VarUndefined(ident.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `node` is never read [INFO] [stdout] --> src/parser.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let mut node = AstNode::Void; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | let mut has_next = self.at < self.tokens.len() - 1; [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] Some errors have detailed explanations: E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `calculator` (bin "calculator") due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "233876d24f6fe86c462b7b3f01ced67c5e124279b68e85c05e05a36fee37dc72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233876d24f6fe86c462b7b3f01ced67c5e124279b68e85c05e05a36fee37dc72", kill_on_drop: false }` [INFO] [stdout] 233876d24f6fe86c462b7b3f01ced67c5e124279b68e85c05e05a36fee37dc72