[INFO] cloning repository https://github.com/ishanjain28/loxi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ishanjain28/loxi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishanjain28%2Floxi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishanjain28%2Floxi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c034099ff0df4d71c0d3ac0c7455834866d5be3f [INFO] checking ishanjain28/loxi against master#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishanjain28%2Floxi" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ishanjain28/loxi on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ishanjain28/loxi [INFO] finished tweaking git repo https://github.com/ishanjain28/loxi [INFO] tweaked toml for git repo https://github.com/ishanjain28/loxi written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ishanjain28/loxi 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" "+4ecd70ddd1039a3954056c1071e40278048476fa" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e93812eb9eca8c02d16507f1941555f5a3f9eca458a505e98e953089cfb898ac [INFO] running `Command { std: "docker" "start" "-a" "e93812eb9eca8c02d16507f1941555f5a3f9eca458a505e98e953089cfb898ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e93812eb9eca8c02d16507f1941555f5a3f9eca458a505e98e953089cfb898ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93812eb9eca8c02d16507f1941555f5a3f9eca458a505e98e953089cfb898ac", kill_on_drop: false }` [INFO] [stdout] e93812eb9eca8c02d16507f1941555f5a3f9eca458a505e98e953089cfb898ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f593f5e02dd1160f9eb769e18b95532581ff6876d9a603c9be2f14e4483cbd3 [INFO] running `Command { std: "docker" "start" "-a" "5f593f5e02dd1160f9eb769e18b95532581ff6876d9a603c9be2f14e4483cbd3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking loxi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scanner/mod.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scanner/mod.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScannerError` is never constructed [INFO] [stdout] --> src/scanner/mod.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct ScannerError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ttype`, `line`, `lexeme`, and `literal` are never read [INFO] [stdout] --> src/scanner/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 327 | ttype: TokenType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 328 | line: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 329 | lexeme: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 330 | literal: Option, [INFO] [stdout] | ^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: function `print_parser_errors` is never used [INFO] [stdout] --> src/loxi.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn print_parser_errors(mut out: W, errors: &[ScannerError]) -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scanner/mod.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scanner/mod.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScannerError` is never constructed [INFO] [stdout] --> src/scanner/mod.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct ScannerError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ttype`, `line`, `lexeme`, and `literal` are never read [INFO] [stdout] --> src/scanner/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 327 | ttype: TokenType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 328 | line: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 329 | lexeme: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 330 | literal: Option, [INFO] [stdout] | ^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: function `print_parser_errors` is never used [INFO] [stdout] --> src/loxi.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn print_parser_errors(mut out: W, errors: &[ScannerError]) -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "5f593f5e02dd1160f9eb769e18b95532581ff6876d9a603c9be2f14e4483cbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f593f5e02dd1160f9eb769e18b95532581ff6876d9a603c9be2f14e4483cbd3", kill_on_drop: false }` [INFO] [stdout] 5f593f5e02dd1160f9eb769e18b95532581ff6876d9a603c9be2f14e4483cbd3