[INFO] cloning repository https://github.com/Jaco26/rlox1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaco26/rlox1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 606d613018c6b20c7db49270b7b93ba54004847c [INFO] checking Jaco26/rlox1 against master#e08b80c0fb7667bdcd040761891701e576c42ec8 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1" "/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/Jaco26/rlox1 on toolchain e08b80c0fb7667bdcd040761891701e576c42ec8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jaco26/rlox1 [INFO] finished tweaking git repo https://github.com/Jaco26/rlox1 [INFO] tweaked toml for git repo https://github.com/Jaco26/rlox1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jaco26/rlox1 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" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Jaco26/rlox1 against try#f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaco26/rlox1 on toolchain f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jaco26/rlox1 [INFO] finished tweaking git repo https://github.com/Jaco26/rlox1 [INFO] tweaked toml for git repo https://github.com/Jaco26/rlox1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jaco26/rlox1 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" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 156eb6f45aba4bf6d0ae1953c60f0fe75fdf435ba81e19aeafe2e284c3230d9e [INFO] running `Command { std: "docker" "start" "-a" "156eb6f45aba4bf6d0ae1953c60f0fe75fdf435ba81e19aeafe2e284c3230d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "156eb6f45aba4bf6d0ae1953c60f0fe75fdf435ba81e19aeafe2e284c3230d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156eb6f45aba4bf6d0ae1953c60f0fe75fdf435ba81e19aeafe2e284c3230d9e", kill_on_drop: false }` [INFO] [stdout] 156eb6f45aba4bf6d0ae1953c60f0fe75fdf435ba81e19aeafe2e284c3230d9e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c49ad8ea26e1c2dab92a52b9f02bece098e43f3396c98b8ea9f7f12c6acb8793 [INFO] running `Command { std: "docker" "start" "-a" "c49ad8ea26e1c2dab92a52b9f02bece098e43f3396c98b8ea9f7f12c6acb8793", kill_on_drop: false }` [INFO] [stderr] Checking rlox1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::ternary` [INFO] [stdout] --> src/scanner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::ternary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::ternary` [INFO] [stdout] --> src/scanner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::ternary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexeme`, `kind`, `literal`, and `line` are never read [INFO] [stdout] --> src/scanner.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 178 | /// The raw substring of the source code [INFO] [stdout] 179 | lexeme: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | kind: TokenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | literal: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexeme`, `kind`, `literal`, and `line` are never read [INFO] [stdout] --> src/scanner.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 178 | /// The raw substring of the source code [INFO] [stdout] 179 | lexeme: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | kind: TokenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | literal: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/scanner.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 200 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/scanner.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 200 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 211 | pub enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 223 | Identifier, Str, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ ^^^^^ ^^^^ ^^^^^ ^^^ ^^^ ^^ ^^^ ^^ [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 211 | pub enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 223 | Identifier, Str, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ ^^^^^ ^^^^ ^^^^^ ^^^ ^^^ ^^ ^^^ ^^ [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are 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] 236 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are 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] 236 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number` and `Identifier` are never constructed [INFO] [stdout] --> src/scanner.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 236 | Str(String), [INFO] [stdout] 237 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 238 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number` and `Identifier` are never constructed [INFO] [stdout] --> src/scanner.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 236 | Str(String), [INFO] [stdout] 237 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 238 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ternary` is never used [INFO] [stdout] --> src/util.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn ternary(condition: bool, if_true: T, if_false: T) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ternary` is never used [INFO] [stdout] --> src/util.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn ternary(condition: bool, if_true: T, if_false: T) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "c49ad8ea26e1c2dab92a52b9f02bece098e43f3396c98b8ea9f7f12c6acb8793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49ad8ea26e1c2dab92a52b9f02bece098e43f3396c98b8ea9f7f12c6acb8793", kill_on_drop: false }` [INFO] [stdout] c49ad8ea26e1c2dab92a52b9f02bece098e43f3396c98b8ea9f7f12c6acb8793