[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] testing Jaco-Minnaar/rlox against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2Frlox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jaco-Minnaar/rlox on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing Jaco-Minnaar/rlox against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2Frlox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jaco-Minnaar/rlox on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded utf8parse v0.2.0 [INFO] [stderr] Downloaded str-buf v1.0.5 [INFO] [stderr] Downloaded fd-lock v3.0.5 [INFO] [stderr] Downloaded dyn-clone v1.0.5 [INFO] [stderr] Downloaded clipboard-win v4.4.1 [INFO] [stderr] Downloaded io-lifetimes v0.6.1 [INFO] [stderr] Downloaded rustyline v9.1.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.38 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded syn v1.0.93 [INFO] [stderr] Downloaded nix v0.23.1 [INFO] [stderr] Downloaded rustix v0.34.6 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.30.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.30.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.30.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.30.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.30.0 [INFO] [stderr] Downloaded linux-raw-sys v0.0.46 [INFO] [stderr] Downloaded windows-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6628df99ec745b101d0d1fc0aa0ff51f618be0d0a276d91112e6ea18da0b6d6 [INFO] running `Command { std: "docker" "start" "-a" "c6628df99ec745b101d0d1fc0aa0ff51f618be0d0a276d91112e6ea18da0b6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6628df99ec745b101d0d1fc0aa0ff51f618be0d0a276d91112e6ea18da0b6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6628df99ec745b101d0d1fc0aa0ff51f618be0d0a276d91112e6ea18da0b6d6", kill_on_drop: false }` [INFO] [stdout] c6628df99ec745b101d0d1fc0aa0ff51f618be0d0a276d91112e6ea18da0b6d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13a9a79fb41d78511b9b28cc4f1ea079ca5db3e347632b5c501fa5db4089cae0 [INFO] running `Command { std: "docker" "start" "-a" "13a9a79fb41d78511b9b28cc4f1ea079ca5db3e347632b5c501fa5db4089cae0", 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] Compiling linux-raw-sys v0.0.46 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v3.0.5 [INFO] [stderr] Compiling rustyline v9.1.2 [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ast::stmt::Stmt` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "13a9a79fb41d78511b9b28cc4f1ea079ca5db3e347632b5c501fa5db4089cae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a9a79fb41d78511b9b28cc4f1ea079ca5db3e347632b5c501fa5db4089cae0", kill_on_drop: false }` [INFO] [stdout] 13a9a79fb41d78511b9b28cc4f1ea079ca5db3e347632b5c501fa5db4089cae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 042b307c977eb2b8f839de01e9870ad5dc75fe5c74917b07f755f17909268444 [INFO] running `Command { std: "docker" "start" "-a" "042b307c977eb2b8f839de01e9870ad5dc75fe5c74917b07f755f17909268444", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ast::stmt::Stmt` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: 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] [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] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ast::stmt::Stmt` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "042b307c977eb2b8f839de01e9870ad5dc75fe5c74917b07f755f17909268444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "042b307c977eb2b8f839de01e9870ad5dc75fe5c74917b07f755f17909268444", kill_on_drop: false }` [INFO] [stdout] 042b307c977eb2b8f839de01e9870ad5dc75fe5c74917b07f755f17909268444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ab26cc3e48c95600fe35b18ba6e9737a6581f6ab499661f8cb6a9cb73d0ecb5 [INFO] running `Command { std: "docker" "start" "-a" "9ab26cc3e48c95600fe35b18ba6e9737a6581f6ab499661f8cb6a9cb73d0ecb5", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ast::stmt::Stmt` and `environment::Environment` [INFO] [stderr] --> src/interpreter/mod.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{ast::stmt::Stmt, environment::Environment}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::interpreter::Interpreter` [INFO] [stderr] --> src/interpreter/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use self::interpreter::Interpreter; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/interpreter/callable.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | fn try_from(value: Literal) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/parser/parser.rs:116:40 [INFO] [stderr] | [INFO] [stderr] 116 | Some(TokenKind::Identifier(id)) => self.advance().unwrap(), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: enum `LexingError` is never used [INFO] [stderr] --> src/lexer/mod.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum LexingError { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `is_part_number` is never used [INFO] [stderr] --> src/lexer/mod.rs:226:8 [INFO] [stderr] | [INFO] [stderr] 78 | impl Cursor<'_> { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 226 | fn is_part_number(c: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `LexingError` and `ParsingError` are never constructed [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | enum LoxErrorType { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 17 | LexingError, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 18 | ParsingError, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoxErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `error_type` and `line` are never read [INFO] [stderr] --> src/lib.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | struct LoxError { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 24 | error_type: LoxErrorType, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 25 | line: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `pretty_print` is never used [INFO] [stderr] --> src/ast/mod.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn pretty_print(expr: &Expr) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `LexingError` and `ParsingError` are never constructed [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | enum LoxErrorType { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 17 | LexingError, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 18 | ParsingError, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoxErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `LexingError` is never used [INFO] [stderr] --> src/lexer/mod.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum LexingError { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rlox` (lib) generated 9 warnings (run `cargo fix --lib -p rlox` to apply 2 suggestions) [INFO] [stderr] warning: `rlox` (lib test) generated 9 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlox-a9a9fd685421f391) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/lox.rs (/opt/rustwide/target/debug/deps/lox-94e1807ceff36e63) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rlox [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ab26cc3e48c95600fe35b18ba6e9737a6581f6ab499661f8cb6a9cb73d0ecb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab26cc3e48c95600fe35b18ba6e9737a6581f6ab499661f8cb6a9cb73d0ecb5", kill_on_drop: false }` [INFO] [stdout] 9ab26cc3e48c95600fe35b18ba6e9737a6581f6ab499661f8cb6a9cb73d0ecb5