[INFO] cloning repository https://github.com/gilesv/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gilesv/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilesv%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilesv%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd2920bbf2c6f13b597b9f6917777eecb491f03e [INFO] checking gilesv/lox against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilesv%2Flox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gilesv/lox [INFO] finished tweaking git repo https://github.com/gilesv/lox [INFO] tweaked toml for git repo https://github.com/gilesv/lox written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gilesv/lox on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gilesv/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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c8942179738e62b6cb31680075a1c8b3e06fd996bac5ee8dad952cdce98e0ec [INFO] running `Command { std: "docker" "start" "-a" "3c8942179738e62b6cb31680075a1c8b3e06fd996bac5ee8dad952cdce98e0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c8942179738e62b6cb31680075a1c8b3e06fd996bac5ee8dad952cdce98e0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8942179738e62b6cb31680075a1c8b3e06fd996bac5ee8dad952cdce98e0ec", kill_on_drop: false }` [INFO] [stdout] 3c8942179738e62b6cb31680075a1c8b3e06fd996bac5ee8dad952cdce98e0ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d48274ae75ef90f0260ef8ddd581a26c618df7183b226b8da39510f69994504 [INFO] running `Command { std: "docker" "start" "-a" "2d48274ae75ef90f0260ef8ddd581a26c618df7183b226b8da39510f69994504", kill_on_drop: false }` [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Identifier, String, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | Eof [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | 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] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Identifier, String, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | Eof [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | run(source); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = run(source); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | run(source); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = run(source); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "2d48274ae75ef90f0260ef8ddd581a26c618df7183b226b8da39510f69994504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d48274ae75ef90f0260ef8ddd581a26c618df7183b226b8da39510f69994504", kill_on_drop: false }` [INFO] [stdout] 2d48274ae75ef90f0260ef8ddd581a26c618df7183b226b8da39510f69994504