[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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-push.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox/hooks/pre-push.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfnan%2Frslox" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hfnan/rslox on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cf89a52343260fad05fcabd40d4f770e734658894a8fe098656f1f3f1440632 [INFO] running `Command { std: "docker" "start" "-a" "6cf89a52343260fad05fcabd40d4f770e734658894a8fe098656f1f3f1440632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cf89a52343260fad05fcabd40d4f770e734658894a8fe098656f1f3f1440632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf89a52343260fad05fcabd40d4f770e734658894a8fe098656f1f3f1440632", kill_on_drop: false }` [INFO] [stdout] 6cf89a52343260fad05fcabd40d4f770e734658894a8fe098656f1f3f1440632 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d2626cc7732d48c9841183efccdc2f63496f14c0d5ac0eab702d5a0134982c2c [INFO] running `Command { std: "docker" "start" "-a" "d2626cc7732d48c9841183efccdc2f63496f14c0d5ac0eab702d5a0134982c2c", kill_on_drop: false }` [INFO] [stderr] Compiling rslox v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn identifier(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.45s [INFO] running `Command { std: "docker" "inspect" "d2626cc7732d48c9841183efccdc2f63496f14c0d5ac0eab702d5a0134982c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2626cc7732d48c9841183efccdc2f63496f14c0d5ac0eab702d5a0134982c2c", kill_on_drop: false }` [INFO] [stdout] d2626cc7732d48c9841183efccdc2f63496f14c0d5ac0eab702d5a0134982c2c [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 853ed958a0db2e5da19dfbf773209b8b4e09ca9a2aec09ccd30e0abc4220a36d [INFO] running `Command { std: "docker" "start" "-a" "853ed958a0db2e5da19dfbf773209b8b4e09ca9a2aec09ccd30e0abc4220a36d", kill_on_drop: false }` [INFO] [stderr] Compiling rslox v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn scan_token(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | fn make_token(&self, ty: TOKEN) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn string(&mut self) -> TokenResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 166 | fn number(&mut self) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn identifier(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.30s [INFO] running `Command { std: "docker" "inspect" "853ed958a0db2e5da19dfbf773209b8b4e09ca9a2aec09ccd30e0abc4220a36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "853ed958a0db2e5da19dfbf773209b8b4e09ca9a2aec09ccd30e0abc4220a36d", kill_on_drop: false }` [INFO] [stdout] 853ed958a0db2e5da19dfbf773209b8b4e09ca9a2aec09ccd30e0abc4220a36d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fe90ca3be213830fa98b82b9c80d7142a7bc89db49474453ea54717a1ad4b438 [INFO] running `Command { std: "docker" "start" "-a" "fe90ca3be213830fa98b82b9c80d7142a7bc89db49474453ea54717a1ad4b438", kill_on_drop: false }` [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] = note: `#[warn(dead_code)]` on by default [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scanner.rs:72:23 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn scan_token(&mut self) -> TokenResult { [INFO] [stderr] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 72 | pub fn scan_token(&mut self) -> TokenResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scanner.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | fn make_token(&self, ty: TOKEN) -> Token { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 109 | fn make_token(&self, ty: TOKEN) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scanner.rs:148:15 [INFO] [stderr] | [INFO] [stderr] 148 | fn string(&mut self) -> TokenResult { [INFO] [stderr] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 148 | fn string(&mut self) -> TokenResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scanner.rs:166:15 [INFO] [stderr] | [INFO] [stderr] 166 | fn number(&mut self) -> Token { [INFO] [stderr] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 166 | fn number(&mut self) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scanner.rs:180:19 [INFO] [stderr] | [INFO] [stderr] 180 | fn identifier(&mut self) -> Token { [INFO] [stderr] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 180 | fn identifier(&mut self) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rslox` (bin "rslox" test) generated 12 warnings (run `cargo fix --bin "rslox" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rslox-4fc31c8376e8d0e4) [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" "fe90ca3be213830fa98b82b9c80d7142a7bc89db49474453ea54717a1ad4b438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe90ca3be213830fa98b82b9c80d7142a7bc89db49474453ea54717a1ad4b438", kill_on_drop: false }` [INFO] [stdout] fe90ca3be213830fa98b82b9c80d7142a7bc89db49474453ea54717a1ad4b438