[INFO] cloning repository https://github.com/fplust/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fplust/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffplust%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffplust%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01572c84a63e60978b68a26014f4a6424ba51b7b [INFO] checking fplust/rlox against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffplust%2Frlox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fplust/rlox on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fplust/rlox [INFO] finished tweaking git repo https://github.com/fplust/rlox [INFO] tweaked toml for git repo https://github.com/fplust/rlox written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fplust/rlox 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gc v0.4.1 [INFO] [stderr] Downloaded gc_derive v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 476d42b5ac0a5fa349013ed078e1fe65394883a3a914947ece2ade08d70400f9 [INFO] running `Command { std: "docker" "start" "-a" "476d42b5ac0a5fa349013ed078e1fe65394883a3a914947ece2ade08d70400f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "476d42b5ac0a5fa349013ed078e1fe65394883a3a914947ece2ade08d70400f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476d42b5ac0a5fa349013ed078e1fe65394883a3a914947ece2ade08d70400f9", kill_on_drop: false }` [INFO] [stdout] 476d42b5ac0a5fa349013ed078e1fe65394883a3a914947ece2ade08d70400f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e97e3d25492a2e72df365ef8bee9ef84b34f83ad5a0e7c0eeaa0bced8968233f [INFO] running `Command { std: "docker" "start" "-a" "e97e3d25492a2e72df365ef8bee9ef84b34f83ad5a0e7c0eeaa0bced8968233f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking gc v0.4.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling gc_derive v0.4.1 [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/gen_ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter` and `Write` [INFO] [stdout] --> src/bin/gen_ast.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/gen_ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter` and `Write` [INFO] [stdout] --> src/bin/gen_ast.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `synchronize` is never used [INFO] [stdout] --> src/parser.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 423 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokentype.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NIL(Option<()>), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literals` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | NIL(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_enclosing` is never used [INFO] [stdout] --> src/environment.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_enclosing(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `message` are never read [INFO] [stdout] --> src/interpreter.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RuntimeError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` 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: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | ERROR(RuntimeError), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeException` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 | ERROR(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `STRING` should have a snake case name [INFO] [stdout] --> src/object.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn STRING(s: String) -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NUMBER` should have a snake case name [INFO] [stdout] --> src/object.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn NUMBER(s: f64) -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BOOL` should have a snake case name [INFO] [stdout] --> src/object.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn BOOL(s: bool) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NIL` should have a snake case name [INFO] [stdout] --> src/object.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn NIL() -> Self { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Function` should have a snake case name [INFO] [stdout] --> src/object.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn Function(s: LoxFunction) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Class` should have a snake case name [INFO] [stdout] --> src/object.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn Class(s: LoxClass) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Instance` should have a snake case name [INFO] [stdout] --> src/object.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn Instance(s: LoxInstance) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `synchronize` is never used [INFO] [stdout] --> src/parser.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 423 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokentype.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NIL(Option<()>), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literals` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | NIL(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_enclosing` is never used [INFO] [stdout] --> src/environment.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_enclosing(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `message` are never read [INFO] [stdout] --> src/interpreter.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RuntimeError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` 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: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | ERROR(RuntimeError), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeException` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 | ERROR(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `STRING` should have a snake case name [INFO] [stdout] --> src/object.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn STRING(s: String) -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NUMBER` should have a snake case name [INFO] [stdout] --> src/object.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn NUMBER(s: f64) -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BOOL` should have a snake case name [INFO] [stdout] --> src/object.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn BOOL(s: bool) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NIL` should have a snake case name [INFO] [stdout] --> src/object.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn NIL() -> Self { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Function` should have a snake case name [INFO] [stdout] --> src/object.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn Function(s: LoxFunction) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Class` should have a snake case name [INFO] [stdout] --> src/object.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn Class(s: LoxClass) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Instance` should have a snake case name [INFO] [stdout] --> src/object.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn Instance(s: LoxInstance) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "e97e3d25492a2e72df365ef8bee9ef84b34f83ad5a0e7c0eeaa0bced8968233f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e97e3d25492a2e72df365ef8bee9ef84b34f83ad5a0e7c0eeaa0bced8968233f", kill_on_drop: false }` [INFO] [stdout] e97e3d25492a2e72df365ef8bee9ef84b34f83ad5a0e7c0eeaa0bced8968233f