[INFO] cloning repository https://github.com/Jaco-Minnaar/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaco-Minnaar/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab12b8b0bafcff7bda6bfa1a8bd0cdae64651e80 [INFO] checking Jaco-Minnaar/rlox against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2Frlox" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaco-Minnaar/rlox on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jaco-Minnaar/rlox [INFO] finished tweaking git repo https://github.com/Jaco-Minnaar/rlox [INFO] tweaked toml for git repo https://github.com/Jaco-Minnaar/rlox written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jaco-Minnaar/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fd-lock v3.0.5 [INFO] [stderr] Downloaded str-buf v1.0.5 [INFO] [stderr] Downloaded io-lifetimes v0.6.1 [INFO] [stderr] Downloaded rustyline v9.1.2 [INFO] [stderr] Downloaded syn v1.0.93 [INFO] [stderr] Downloaded rustix v0.34.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acd9d2d6f81159314a93e9f8a155201674830dcba1638ca4e3b924fa2740d187 [INFO] running `Command { std: "docker" "start" "-a" "acd9d2d6f81159314a93e9f8a155201674830dcba1638ca4e3b924fa2740d187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acd9d2d6f81159314a93e9f8a155201674830dcba1638ca4e3b924fa2740d187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd9d2d6f81159314a93e9f8a155201674830dcba1638ca4e3b924fa2740d187", kill_on_drop: false }` [INFO] [stdout] acd9d2d6f81159314a93e9f8a155201674830dcba1638ca4e3b924fa2740d187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fe3cfe81f4031d168efd3fabf4d55066e5fac8ec3336409d3c0fe32f5bba488 [INFO] running `Command { std: "docker" "start" "-a" "3fe3cfe81f4031d168efd3fabf4d55066e5fac8ec3336409d3c0fe32f5bba488", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling io-lifetimes v0.6.1 [INFO] [stderr] Compiling rustix v0.34.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking fd-lock v3.0.5 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ast::stmt::Stmt`, `environment::Environment` [INFO] [stdout] --> src/interpreter/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ast::stmt::Stmt, environment::Environment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::interpreter::Interpreter` [INFO] [stdout] --> src/interpreter/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use self::interpreter::Interpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ast::stmt::Stmt`, `environment::Environment` [INFO] [stdout] --> src/interpreter/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ast::stmt::Stmt, environment::Environment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::interpreter::Interpreter` [INFO] [stdout] --> src/interpreter/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use self::interpreter::Interpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interpreter/callable.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn try_from(value: Literal) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/parser.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | Some(TokenKind::Identifier(id)) => self.advance().unwrap(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LexingError` and `ParsingError` are never constructed [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum LoxErrorType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 17 | LexingError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_type` and `line` are never read [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct LoxError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | error_type: LoxErrorType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pretty_print` is never used [INFO] [stdout] --> src/ast/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn pretty_print(expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexingError` is never used [INFO] [stdout] --> src/lexer/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LexingError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_part_number` is never used [INFO] [stdout] --> src/lexer/mod.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Cursor<'_> { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | fn is_part_number(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interpreter/callable.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn try_from(value: Literal) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/parser.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | Some(TokenKind::Identifier(id)) => self.advance().unwrap(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LexingError` and `ParsingError` are never constructed [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum LoxErrorType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 17 | LexingError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_type` and `line` are never read [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct LoxError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | error_type: LoxErrorType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pretty_print` is never used [INFO] [stdout] --> src/ast/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn pretty_print(expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexingError` is never used [INFO] [stdout] --> src/lexer/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LexingError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_part_number` is never used [INFO] [stdout] --> src/lexer/mod.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Cursor<'_> { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | fn is_part_number(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rlox` is imported redundantly [INFO] [stdout] --> src/bin/lox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rlox; [INFO] [stdout] | ^^^^ the item `rlox` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rlox` is imported redundantly [INFO] [stdout] --> src/bin/lox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rlox; [INFO] [stdout] | ^^^^ the item `rlox` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.78s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3fe3cfe81f4031d168efd3fabf4d55066e5fac8ec3336409d3c0fe32f5bba488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe3cfe81f4031d168efd3fabf4d55066e5fac8ec3336409d3c0fe32f5bba488", kill_on_drop: false }` [INFO] [stdout] 3fe3cfe81f4031d168efd3fabf4d55066e5fac8ec3336409d3c0fe32f5bba488