[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#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsledgehammervampire%2Flox" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sledgehammervampire/lox on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcb7234cf2fc11d6350f9773edde8568f2e3a50b3c4e43cf8389eb2a10579208 [INFO] running `Command { std: "docker" "start" "-a" "bcb7234cf2fc11d6350f9773edde8568f2e3a50b3c4e43cf8389eb2a10579208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb7234cf2fc11d6350f9773edde8568f2e3a50b3c4e43cf8389eb2a10579208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb7234cf2fc11d6350f9773edde8568f2e3a50b3c4e43cf8389eb2a10579208", kill_on_drop: false }` [INFO] [stdout] bcb7234cf2fc11d6350f9773edde8568f2e3a50b3c4e43cf8389eb2a10579208 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16d168c06bc3394fefba494065f979b5f505bd0dc736aaa1e787845527985c75 [INFO] running `Command { std: "docker" "start" "-a" "16d168c06bc3394fefba494065f979b5f505bd0dc736aaa1e787845527985c75", 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)]` 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)]` 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.10s [INFO] running `Command { std: "docker" "inspect" "16d168c06bc3394fefba494065f979b5f505bd0dc736aaa1e787845527985c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d168c06bc3394fefba494065f979b5f505bd0dc736aaa1e787845527985c75", kill_on_drop: false }` [INFO] [stdout] 16d168c06bc3394fefba494065f979b5f505bd0dc736aaa1e787845527985c75