[INFO] cloning repository https://github.com/RobertObkircher/ro-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobertObkircher/ro-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertObkircher%2Fro-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertObkircher%2Fro-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 055bbd6a766e07685d52ee10d8abfbb5dfa14d16 [INFO] checking RobertObkircher/ro-compiler against master#de32266a1780aa4ef748ce7f6200a1554fad0aca for pr-75585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertObkircher%2Fro-compiler" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobertObkircher/ro-compiler on toolchain de32266a1780aa4ef748ce7f6200a1554fad0aca [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RobertObkircher/ro-compiler [INFO] finished tweaking git repo https://github.com/RobertObkircher/ro-compiler [INFO] tweaked toml for git repo https://github.com/RobertObkircher/ro-compiler written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/RobertObkircher/ro-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 502f5809688db47bea5032ed5335564568e44b1224be1b3d035428303b15bf8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "502f5809688db47bea5032ed5335564568e44b1224be1b3d035428303b15bf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "502f5809688db47bea5032ed5335564568e44b1224be1b3d035428303b15bf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "502f5809688db47bea5032ed5335564568e44b1224be1b3d035428303b15bf8c", kill_on_drop: false }` [INFO] [stdout] 502f5809688db47bea5032ed5335564568e44b1224be1b3d035428303b15bf8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7bf31d27e18df5e51e6e427150b480f4cfcd39fe172de39c15b0f46ec3a70af [INFO] running `Command { std: "docker" "start" "-a" "c7bf31d27e18df5e51e6e427150b480f4cfcd39fe172de39c15b0f46ec3a70af", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking string_cache v0.8.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling ro-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ir.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | stack[instruction_pointer] = match op { [INFO] [stdout] | __________________^____________________________- [INFO] [stdout] | | _________________| [INFO] [stdout] | || [INFO] [stdout] 266 | || _ => todo!(), [INFO] [stdout] 267 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________________| [INFO] [stdout] | |__________________unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ir.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | stack[instruction_pointer] = match op { [INFO] [stdout] | __________________^____________________________- [INFO] [stdout] | | _________________| [INFO] [stdout] | || [INFO] [stdout] 266 | || _ => todo!(), [INFO] [stdout] 267 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________________| [INFO] [stdout] | |__________________unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/c_backend.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | _ => writeln!(self.out)?, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_value` [INFO] [stdout] --> src/ir.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let left_value = stack[left].clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_value` [INFO] [stdout] --> src/ir.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | let right_value = stack[right].clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/c_backend.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | _ => writeln!(self.out)?, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_value` [INFO] [stdout] --> src/ir.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let left_value = stack[left].clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_value` [INFO] [stdout] --> src/ir.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | let right_value = stack[right].clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_locals` [INFO] [stdout] --> src/ir.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn push_locals(&mut self, code: &Code) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `interpret` [INFO] [stdout] --> src/ir.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn interpret(program: Program, main: CodeIndex) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unknown` [INFO] [stdout] --> src/ir.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn unknown() -> SourceLocation { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `warning_message` [INFO] [stdout] --> src/parser.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn warning_message(&mut self, token: Token, title: String, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/c_backend.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | / writeln!( [INFO] [stdout] 108 | | self.out, [INFO] [stdout] 109 | | "if (r_{}) goto l_{} else goto l_{};", [INFO] [stdout] 110 | | branch.condition, branch.if_true, branch.if_false [INFO] [stdout] 111 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/c_backend.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | write!(self.out, "r_{} = r_{}(", i, call.target.index()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_locals` [INFO] [stdout] --> src/ir.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn push_locals(&mut self, code: &Code) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `interpret` [INFO] [stdout] --> src/ir.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn interpret(program: Program, main: CodeIndex) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unknown` [INFO] [stdout] --> src/ir.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn unknown() -> SourceLocation { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `warning_message` [INFO] [stdout] --> src/parser.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn warning_message(&mut self, token: Token, title: String, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/c_backend.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | / writeln!( [INFO] [stdout] 108 | | self.out, [INFO] [stdout] 109 | | "if (r_{}) goto l_{} else goto l_{};", [INFO] [stdout] 110 | | branch.condition, branch.if_true, branch.if_false [INFO] [stdout] 111 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/c_backend.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | write!(self.out, "r_{} = r_{}(", i, call.target.index()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.63s [INFO] running `Command { std: "docker" "inspect" "c7bf31d27e18df5e51e6e427150b480f4cfcd39fe172de39c15b0f46ec3a70af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7bf31d27e18df5e51e6e427150b480f4cfcd39fe172de39c15b0f46ec3a70af", kill_on_drop: false }` [INFO] [stdout] c7bf31d27e18df5e51e6e427150b480f4cfcd39fe172de39c15b0f46ec3a70af