[INFO] cloning repository https://github.com/chansuke/granite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chansuke/granite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Fgranite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Fgranite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57096375622062fd0aa6d38cfddae42c015a0241 [INFO] checking chansuke/granite against master#4c5f6e6277b89e47d73a192078697f7a5f3dc0ac for pr-97086 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Fgranite" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chansuke/granite on toolchain 4c5f6e6277b89e47d73a192078697f7a5f3dc0ac [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chansuke/granite [INFO] finished tweaking git repo https://github.com/chansuke/granite [INFO] tweaked toml for git repo https://github.com/chansuke/granite written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/chansuke/granite already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "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-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b7c190aebeb8077dddf3012d57f6945859188aebe79c357d0e652461306fd02 [INFO] running `Command { std: "docker" "start" "-a" "0b7c190aebeb8077dddf3012d57f6945859188aebe79c357d0e652461306fd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b7c190aebeb8077dddf3012d57f6945859188aebe79c357d0e652461306fd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b7c190aebeb8077dddf3012d57f6945859188aebe79c357d0e652461306fd02", kill_on_drop: false }` [INFO] [stdout] 0b7c190aebeb8077dddf3012d57f6945859188aebe79c357d0e652461306fd02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 917060c6dfba2b162aa2ed8a915c5a59b7086c9d98242b36bb0077f09174b1af [INFO] running `Command { std: "docker" "start" "-a" "917060c6dfba2b162aa2ed8a915c5a59b7086c9d98242b36bb0077f09174b1af", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking granite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Sub, [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] --> src/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiple` [INFO] [stdout] --> src/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Multiple, [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] --> src/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Div` [INFO] [stdout] --> src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Div, [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] --> src/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / Int { [INFO] [stdout] 8 | | value: i64, [INFO] [stdout] 9 | | }, [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] --> src/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / Expression { [INFO] [stdout] 11 | | left: Box, [INFO] [stdout] 12 | | op: Box, [INFO] [stdout] 13 | | right: Box, [INFO] [stdout] 14 | | }, [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] --> src/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Program` [INFO] [stdout] --> src/token.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / Program { [INFO] [stdout] 16 | | expressions: Vec, [INFO] [stdout] 17 | | }, [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] --> src/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_test_program` [INFO] [stdout] --> src/visitor.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn generate_test_program() -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.17s [INFO] running `Command { std: "docker" "inspect" "917060c6dfba2b162aa2ed8a915c5a59b7086c9d98242b36bb0077f09174b1af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917060c6dfba2b162aa2ed8a915c5a59b7086c9d98242b36bb0077f09174b1af", kill_on_drop: false }` [INFO] [stdout] 917060c6dfba2b162aa2ed8a915c5a59b7086c9d98242b36bb0077f09174b1af