[INFO] cloning repository https://github.com/hfnan/rslox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hfnan/rslox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a2806c71fb30603fd0fd30142da18dc0d33e001 [INFO] testing hfnan/rslox against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hfnan/rslox [INFO] finished tweaking git repo https://github.com/hfnan/rslox [INFO] tweaked toml for git repo https://github.com/hfnan/rslox written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hfnan/rslox on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hfnan/rslox 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing hfnan/rslox against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hfnan/rslox [INFO] finished tweaking git repo https://github.com/hfnan/rslox [INFO] tweaked toml for git repo https://github.com/hfnan/rslox written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hfnan/rslox on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hfnan/rslox 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58f018e41ff01f442e8fee94eeab9e31a674f7d137b9f10214a190c6f2b5ae2 [INFO] running `Command { std: "docker" "start" "-a" "c58f018e41ff01f442e8fee94eeab9e31a674f7d137b9f10214a190c6f2b5ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58f018e41ff01f442e8fee94eeab9e31a674f7d137b9f10214a190c6f2b5ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58f018e41ff01f442e8fee94eeab9e31a674f7d137b9f10214a190c6f2b5ae2", kill_on_drop: false }` [INFO] [stdout] c58f018e41ff01f442e8fee94eeab9e31a674f7d137b9f10214a190c6f2b5ae2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e4413f58382c84439fc6fc1c5ae763f85f4eb6e4153b6582a5037e868a587d4 [INFO] running `Command { std: "docker" "start" "-a" "8e4413f58382c84439fc6fc1c5ae763f85f4eb6e4153b6582a5037e868a587d4", kill_on_drop: false }` [INFO] [stderr] Compiling rslox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `OpCode` is never used [INFO] [stdout] --> src/chunk.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `from_u8` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/chunk.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write_chunk`, and `add_constant` are never used [INFO] [stdout] --> src/chunk.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn write_chunk(&mut self, byte: u8, line: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add_constant(&mut self, value: Value) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `disassemble_chunk`, `disassemble_instruction`, `simple_instruction`, and `constant_instruction` are never used [INFO] [stdout] --> src/chunk.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 56 | pub fn disassemble_chunk(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn disassemble_instruction(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn simple_instruction(&self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn constant_instruction(&self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Value` is never used [INFO] [stdout] --> src/value.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Value = f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `read_byte`, and `read_constant` are never used [INFO] [stdout] --> src/vm.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 28 | fn new(chunk: Chunk) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn run(&mut self) -> InterpretResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn read_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn read_constant(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `line` are never read [INFO] [stdout] --> src/scanner.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TokenError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn identifier(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn identifier(&mut self) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "8e4413f58382c84439fc6fc1c5ae763f85f4eb6e4153b6582a5037e868a587d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4413f58382c84439fc6fc1c5ae763f85f4eb6e4153b6582a5037e868a587d4", kill_on_drop: false }` [INFO] [stdout] 8e4413f58382c84439fc6fc1c5ae763f85f4eb6e4153b6582a5037e868a587d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7589173b11448f7aa23f5bafe25de42feaa3cf908a43c0465ef9c393280e6ca8 [INFO] running `Command { std: "docker" "start" "-a" "7589173b11448f7aa23f5bafe25de42feaa3cf908a43c0465ef9c393280e6ca8", kill_on_drop: false }` [INFO] [stderr] Compiling rslox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `OpCode` is never used [INFO] [stdout] --> src/chunk.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `from_u8` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/chunk.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write_chunk`, and `add_constant` are never used [INFO] [stdout] --> src/chunk.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn write_chunk(&mut self, byte: u8, line: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add_constant(&mut self, value: Value) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `disassemble_chunk`, `disassemble_instruction`, `simple_instruction`, and `constant_instruction` are never used [INFO] [stdout] --> src/chunk.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 56 | pub fn disassemble_chunk(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn disassemble_instruction(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn simple_instruction(&self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn constant_instruction(&self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Value` is never used [INFO] [stdout] --> src/value.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Value = f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `read_byte`, and `read_constant` are never used [INFO] [stdout] --> src/vm.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 28 | fn new(chunk: Chunk) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn run(&mut self) -> InterpretResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn read_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn read_constant(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `line` are never read [INFO] [stdout] --> src/scanner.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TokenError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn identifier(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn identifier(&mut self) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "7589173b11448f7aa23f5bafe25de42feaa3cf908a43c0465ef9c393280e6ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7589173b11448f7aa23f5bafe25de42feaa3cf908a43c0465ef9c393280e6ca8", kill_on_drop: false }` [INFO] [stdout] 7589173b11448f7aa23f5bafe25de42feaa3cf908a43c0465ef9c393280e6ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f66c74b8d0ea54dd7569657a601446f212096e44e2b6c92f2e1f8893037fcb9f [INFO] running `Command { std: "docker" "start" "-a" "f66c74b8d0ea54dd7569657a601446f212096e44e2b6c92f2e1f8893037fcb9f", kill_on_drop: false }` [INFO] [stderr] warning: enum `OpCode` is never used [INFO] [stderr] --> src/chunk.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | pub enum OpCode { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `from_u8` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `Chunk` is never constructed [INFO] [stderr] --> src/chunk.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Chunk { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `write_chunk`, and `add_constant` are never used [INFO] [stderr] --> src/chunk.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl Chunk { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 40 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn write_chunk(&mut self, byte: u8, line: usize) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn add_constant(&mut self, value: Value) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `disassemble_chunk`, `disassemble_instruction`, `simple_instruction`, and `constant_instruction` are never used [INFO] [stderr] --> src/chunk.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 55 | impl Chunk { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 56 | pub fn disassemble_chunk(&self, name: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn disassemble_instruction(&self, offset: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | fn simple_instruction(&self, name: &str, offset: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | fn constant_instruction(&self, name: &str, offset: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Value` is never used [INFO] [stderr] --> src/value.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | pub type Value = f64; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VM` is never constructed [INFO] [stderr] --> src/vm.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | struct VM { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `run`, `read_byte`, and `read_constant` are never used [INFO] [stderr] --> src/vm.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 27 | impl VM { [INFO] [stderr] | ------- associated items in this implementation [INFO] [stderr] 28 | fn new(chunk: Chunk) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | fn run(&mut self) -> InterpretResult { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | fn read_byte(&mut self) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | fn read_constant(&mut self) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `message` and `line` are never read [INFO] [stderr] --> src/scanner.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct TokenError { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 61 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 62 | line: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scanner.rs:72:23 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn scan_token(&mut self) -> TokenResult { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 72 | pub fn scan_token(&mut self) -> TokenResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scanner.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | fn make_token(&self, ty: TOKEN) -> Token { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 109 | fn make_token(&self, ty: TOKEN) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scanner.rs:148:15 [INFO] [stderr] | [INFO] [stderr] 148 | fn string(&mut self) -> TokenResult { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 148 | fn string(&mut self) -> TokenResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scanner.rs:166:15 [INFO] [stderr] | [INFO] [stderr] 166 | fn number(&mut self) -> Token { [INFO] [stderr] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 166 | fn number(&mut self) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scanner.rs:180:19 [INFO] [stderr] | [INFO] [stderr] 180 | fn identifier(&mut self) -> Token { [INFO] [stderr] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 180 | fn identifier(&mut self) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rslox` (bin "rslox" test) generated 13 warnings (run `cargo fix --bin "rslox" -p rslox --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rslox-a417846f828cb797) [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" "f66c74b8d0ea54dd7569657a601446f212096e44e2b6c92f2e1f8893037fcb9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66c74b8d0ea54dd7569657a601446f212096e44e2b6c92f2e1f8893037fcb9f", kill_on_drop: false }` [INFO] [stdout] f66c74b8d0ea54dd7569657a601446f212096e44e2b6c92f2e1f8893037fcb9f