[INFO] updating cached repository https://github.com/eklavya/rustylox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15cbcff8a64b13eaf2ad64be99cc0fd4defa34fd [INFO] checking eklavya/rustylox against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feklavya%2Frustylox" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eklavya/rustylox on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eklavya/rustylox [INFO] finished tweaking git repo https://github.com/eklavya/rustylox [INFO] tweaked toml for git repo https://github.com/eklavya/rustylox written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/eklavya/rustylox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9c3137399071483a85b6d16bad18dc8ea8b1bdf3ecd68743891741a4f3abf49 [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" "d9c3137399071483a85b6d16bad18dc8ea8b1bdf3ecd68743891741a4f3abf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9c3137399071483a85b6d16bad18dc8ea8b1bdf3ecd68743891741a4f3abf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c3137399071483a85b6d16bad18dc8ea8b1bdf3ecd68743891741a4f3abf49", kill_on_drop: false }` [INFO] [stdout] d9c3137399071483a85b6d16bad18dc8ea8b1bdf3ecd68743891741a4f3abf49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4841f55f8d81fbc870dcca15a08eb15f796946e99d99ea6ac71393d39eacd0ec [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" "4841f55f8d81fbc870dcca15a08eb15f796946e99d99ea6ac71393d39eacd0ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.14 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.5.0 [INFO] [stderr] Checking num_enum v0.5.0 [INFO] [stderr] Checking rustylox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/obj.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/vm.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::obj::{self, ObjString, ObjType, Object}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/obj.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/vm.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::obj::{self, ObjString, ObjType, Object}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_long` [INFO] [stdout] --> src/chunk.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write_long(&mut self, num: u16, line: i32) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/chunk.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn free(&mut self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PARSE_RULES_DBG` [INFO] [stdout] --> src/compiler.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / const PARSE_RULES_DBG: [&'static str; 44] = [ [INFO] [stdout] 257 | | "ParseRule { [INFO] [stdout] 258 | | prefix: Some(Compiler::grouping), [INFO] [stdout] 259 | | infix: None, [INFO] [stdout] ... | [INFO] [stdout] 486 | | // }, // TOKEN_COLON [INFO] [stdout] 487 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dealloc` [INFO] [stdout] --> src/gc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn dealloc(ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_obj_type` [INFO] [stdout] --> src/obj.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_obj_type(v: Value, obj_type: ObjType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_stack` [INFO] [stdout] --> src/vm.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn show_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | stdout().flush(); [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] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | reader.read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/compiler.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | if constant > 255 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_long` [INFO] [stdout] --> src/chunk.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write_long(&mut self, num: u16, line: i32) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/chunk.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn free(&mut self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PARSE_RULES_DBG` [INFO] [stdout] --> src/compiler.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / const PARSE_RULES_DBG: [&'static str; 44] = [ [INFO] [stdout] 257 | | "ParseRule { [INFO] [stdout] 258 | | prefix: Some(Compiler::grouping), [INFO] [stdout] 259 | | infix: None, [INFO] [stdout] ... | [INFO] [stdout] 486 | | // }, // TOKEN_COLON [INFO] [stdout] 487 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dealloc` [INFO] [stdout] --> src/gc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn dealloc(ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_obj_type` [INFO] [stdout] --> src/obj.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_obj_type(v: Value, obj_type: ObjType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_stack` [INFO] [stdout] --> src/vm.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn show_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | stdout().flush(); [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] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | reader.read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/compiler.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | if constant > 255 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.87s [INFO] running `Command { std: "docker" "inspect" "4841f55f8d81fbc870dcca15a08eb15f796946e99d99ea6ac71393d39eacd0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4841f55f8d81fbc870dcca15a08eb15f796946e99d99ea6ac71393d39eacd0ec", kill_on_drop: false }` [INFO] [stdout] 4841f55f8d81fbc870dcca15a08eb15f796946e99d99ea6ac71393d39eacd0ec