[INFO] cloning repository https://github.com/AlyHKafoury/caurora [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlyHKafoury/caurora" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlyHKafoury%2Fcaurora", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlyHKafoury%2Fcaurora'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbf751ca43f069bf1cf355e5a3ba7b4455b2e093 [INFO] building AlyHKafoury/caurora 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%2FAlyHKafoury%2Fcaurora" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlyHKafoury/caurora 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/AlyHKafoury/caurora [INFO] finished tweaking git repo https://github.com/AlyHKafoury/caurora [INFO] tweaked toml for git repo https://github.com/AlyHKafoury/caurora written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AlyHKafoury/caurora 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cxxbridge-flags v1.0.93 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.93 [INFO] [stderr] Downloaded cxx v1.0.93 [INFO] [stderr] Downloaded cxx-build v1.0.93 [INFO] [stderr] Downloaded syn v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 308f42273717023722d4d57d124675fd94437c628907444cc53eefd8efc478fa [INFO] running `Command { std: "docker" "start" "-a" "308f42273717023722d4d57d124675fd94437c628907444cc53eefd8efc478fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "308f42273717023722d4d57d124675fd94437c628907444cc53eefd8efc478fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308f42273717023722d4d57d124675fd94437c628907444cc53eefd8efc478fa", kill_on_drop: false }` [INFO] [stdout] 308f42273717023722d4d57d124675fd94437c628907444cc53eefd8efc478fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fe80fa71b3724cd02dffcadd9d867efcf4ff3636d8109170aa245ff9dec926b5 [INFO] running `Command { std: "docker" "start" "-a" "fe80fa71b3724cd02dffcadd9d867efcf4ff3636d8109170aa245ff9dec926b5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling caurora v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | fn number(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | fn grouping(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | fn unary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:338:26 [INFO] [stdout] | [INFO] [stdout] 338 | fn binary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | fn literal(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | fn string(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut script = Box::leak(fs::read_to_string(path)?.into_boxed_str()); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut scanner = caurora::scanner::Scanner::new(script); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_line` and `debug` are never used [INFO] [stdout] --> src/caurora/memoryslice.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl MemorySlice { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_line(&mut self, op_location: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn debug(&mut self, name: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Raw` is never constructed [INFO] [stdout] --> src/caurora/values.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Raw, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InterpretCompileError` and `InterpretRuntimeError` are never constructed [INFO] [stdout] --> src/caurora/virtualmachine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum InterpretResult { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 8 | InterpretOk, [INFO] [stdout] 9 | InterpretCompileError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | InterpretRuntimeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/caurora/virtualmachine.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl VM<'_> { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Primary` is never constructed [INFO] [stdout] --> src/caurora/compiler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Precedence { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_token_name` is never used [INFO] [stdout] --> src/caurora/compiler.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_token_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.65s [INFO] running `Command { std: "docker" "inspect" "fe80fa71b3724cd02dffcadd9d867efcf4ff3636d8109170aa245ff9dec926b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe80fa71b3724cd02dffcadd9d867efcf4ff3636d8109170aa245ff9dec926b5", kill_on_drop: false }` [INFO] [stdout] fe80fa71b3724cd02dffcadd9d867efcf4ff3636d8109170aa245ff9dec926b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e508bdae4f314c73473c541f8908a440334f95cdb1a816c2ec8b7736ef95df8 [INFO] running `Command { std: "docker" "start" "-a" "8e508bdae4f314c73473c541f8908a440334f95cdb1a816c2ec8b7736ef95df8", kill_on_drop: false }` [INFO] [stderr] Compiling caurora v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | fn number(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | fn grouping(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | fn unary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:338:26 [INFO] [stdout] | [INFO] [stdout] 338 | fn binary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | fn literal(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/caurora/compiler.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | fn string(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut script = Box::leak(fs::read_to_string(path)?.into_boxed_str()); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut scanner = caurora::scanner::Scanner::new(script); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_line` and `debug` are never used [INFO] [stdout] --> src/caurora/memoryslice.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl MemorySlice { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_line(&mut self, op_location: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn debug(&mut self, name: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Raw` is never constructed [INFO] [stdout] --> src/caurora/values.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Raw, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InterpretCompileError` and `InterpretRuntimeError` are never constructed [INFO] [stdout] --> src/caurora/virtualmachine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum InterpretResult { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 8 | InterpretOk, [INFO] [stdout] 9 | InterpretCompileError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | InterpretRuntimeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/caurora/virtualmachine.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl VM<'_> { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Primary` is never constructed [INFO] [stdout] --> src/caurora/compiler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Precedence { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_token_name` is never used [INFO] [stdout] --> src/caurora/compiler.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_token_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "8e508bdae4f314c73473c541f8908a440334f95cdb1a816c2ec8b7736ef95df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e508bdae4f314c73473c541f8908a440334f95cdb1a816c2ec8b7736ef95df8", kill_on_drop: false }` [INFO] [stdout] 8e508bdae4f314c73473c541f8908a440334f95cdb1a816c2ec8b7736ef95df8