[INFO] fetching crate rusty-zig 0.1.0... [INFO] building rusty-zig-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate rusty-zig 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rusty-zig 0.1.0 [INFO] finished tweaking crates.io crate rusty-zig 0.1.0 [INFO] tweaked toml for crates.io crate rusty-zig 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-zig 0.1.0 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 crates.io crate rusty-zig 0.1.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c58cb7310cd848bace832e60bbe0d3ba9a07fc1b23694713f2c9c94ce20c7169 [INFO] running `Command { std: "docker" "start" "-a" "c58cb7310cd848bace832e60bbe0d3ba9a07fc1b23694713f2c9c94ce20c7169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58cb7310cd848bace832e60bbe0d3ba9a07fc1b23694713f2c9c94ce20c7169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58cb7310cd848bace832e60bbe0d3ba9a07fc1b23694713f2c9c94ce20c7169", kill_on_drop: false }` [INFO] [stdout] c58cb7310cd848bace832e60bbe0d3ba9a07fc1b23694713f2c9c94ce20c7169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 92f40a97086b28a1336e16f48f0cdefd3f1676b671802b0b744ab07e5f5854a1 [INFO] running `Command { std: "docker" "start" "-a" "92f40a97086b28a1336e16f48f0cdefd3f1676b671802b0b744ab07e5f5854a1", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-zig v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `start`, `end`, and `line` are never read [INFO] [stdout] --> src/tokenizer/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Pos { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pos` 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: field `0` is never read [INFO] [stdout] --> src/tokenizer/token.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Token(Pos, TokenType); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 113 - pub struct Token(Pos, TokenType); [INFO] [stdout] 113 + pub struct Token((), TokenType); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/tokenizer/tokenizer.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct Tokenizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `curr`, `peek`, `advance`, and `next_token` are never used [INFO] [stdout] --> src/tokenizer/tokenizer.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Tokenizer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(src: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn curr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn peek(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn advance(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "92f40a97086b28a1336e16f48f0cdefd3f1676b671802b0b744ab07e5f5854a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f40a97086b28a1336e16f48f0cdefd3f1676b671802b0b744ab07e5f5854a1", kill_on_drop: false }` [INFO] [stdout] 92f40a97086b28a1336e16f48f0cdefd3f1676b671802b0b744ab07e5f5854a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d702ddeeb77c99bcd3ab31d77b22108b66a94b49831b8e1d73202a8b5134ff16 [INFO] running `Command { std: "docker" "start" "-a" "d702ddeeb77c99bcd3ab31d77b22108b66a94b49831b8e1d73202a8b5134ff16", kill_on_drop: false }` [INFO] [stdout] warning: fields `start`, `end`, and `line` are never read [INFO] [stdout] --> src/tokenizer/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Pos { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pos` 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: field `0` is never read [INFO] [stdout] --> src/tokenizer/token.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Token(Pos, TokenType); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 113 - pub struct Token(Pos, TokenType); [INFO] [stdout] 113 + pub struct Token((), TokenType); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/tokenizer/tokenizer.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct Tokenizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `curr`, `peek`, `advance`, and `next_token` are never used [INFO] [stdout] --> src/tokenizer/tokenizer.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Tokenizer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(src: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn curr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn peek(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn advance(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-zig v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/tokenizer/tokenizer.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct Tokenizer { [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 items `new`, `curr`, `peek`, `advance`, and `next_token` are never used [INFO] [stdout] --> src/tokenizer/tokenizer.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Tokenizer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(src: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn curr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn peek(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn advance(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `line` are never read [INFO] [stdout] --> src/tokenizer/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Pos { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer/token.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Token(Pos, TokenType); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 113 - pub struct Token(Pos, TokenType); [INFO] [stdout] 113 + pub struct Token((), TokenType); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "d702ddeeb77c99bcd3ab31d77b22108b66a94b49831b8e1d73202a8b5134ff16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d702ddeeb77c99bcd3ab31d77b22108b66a94b49831b8e1d73202a8b5134ff16", kill_on_drop: false }` [INFO] [stdout] d702ddeeb77c99bcd3ab31d77b22108b66a94b49831b8e1d73202a8b5134ff16