[INFO] cloning repository https://github.com/sledgehammervampire/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sledgehammervampire/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsledgehammervampire%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsledgehammervampire%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52791c2ebe32a372ffa18d9ce94e63a44cd1515f [INFO] checking sledgehammervampire/lox against try#df1b9bf194c9183fb7c0604484171064069ce232 for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsledgehammervampire%2Flox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sledgehammervampire/lox [INFO] finished tweaking git repo https://github.com/sledgehammervampire/lox [INFO] tweaked toml for git repo https://github.com/sledgehammervampire/lox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sledgehammervampire/lox on toolchain df1b9bf194c9183fb7c0604484171064069ce232 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sledgehammervampire/lox 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" "+df1b9bf194c9183fb7c0604484171064069ce232" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97324da3d1327b91793d3dcdac6389af5c4f32febb8321538b19c672a742753a [INFO] running `Command { std: "docker" "start" "-a" "97324da3d1327b91793d3dcdac6389af5c4f32febb8321538b19c672a742753a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97324da3d1327b91793d3dcdac6389af5c4f32febb8321538b19c672a742753a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97324da3d1327b91793d3dcdac6389af5c4f32febb8321538b19c672a742753a", kill_on_drop: false }` [INFO] [stdout] 97324da3d1327b91793d3dcdac6389af5c4f32febb8321538b19c672a742753a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 898abefff270ffeba9b4616390e4ce0b5c15a1bdd6c1b07cc3e3f83f8e2fff15 [INFO] running `Command { std: "docker" "start" "-a" "898abefff270ffeba9b4616390e4ce0b5c15a1bdd6c1b07cc3e3f83f8e2fff15", kill_on_drop: false }` [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `typ`, `lexeme`, and `line` are never read [INFO] [stdout] --> src/main.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct Token<'src> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 233 | typ: TokenType<'src>, [INFO] [stdout] | ^^^ [INFO] [stdout] 234 | lexeme: &'src str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | line: usize, [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] = 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/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | Str(&'src str), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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] 265 - Str(&'src str), [INFO] [stdout] 265 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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] 266 - Number(f64), [INFO] [stdout] 266 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 239 | enum TokenType<'src> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 264 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 270 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 271 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 272 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 273 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 274 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 275 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 276 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 277 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 278 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 279 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 280 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 281 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] 282 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 283 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 284 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(src: &str) -> Scanner { [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] 54 | fn new(src: &str) -> Scanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ`, `lexeme`, and `line` are never read [INFO] [stdout] --> src/main.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct Token<'src> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 233 | typ: TokenType<'src>, [INFO] [stdout] | ^^^ [INFO] [stdout] 234 | lexeme: &'src str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | line: usize, [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] = 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/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | Str(&'src str), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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] 265 - Str(&'src str), [INFO] [stdout] 265 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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] 266 - Number(f64), [INFO] [stdout] 266 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 239 | enum TokenType<'src> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 264 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 270 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 271 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 272 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 273 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 274 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 275 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 276 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 277 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 278 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 279 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 280 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 281 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] 282 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 283 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 284 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(src: &str) -> Scanner { [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] 54 | fn new(src: &str) -> Scanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "898abefff270ffeba9b4616390e4ce0b5c15a1bdd6c1b07cc3e3f83f8e2fff15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "898abefff270ffeba9b4616390e4ce0b5c15a1bdd6c1b07cc3e3f83f8e2fff15", kill_on_drop: false }` [INFO] [stdout] 898abefff270ffeba9b4616390e4ce0b5c15a1bdd6c1b07cc3e3f83f8e2fff15