[INFO] cloning repository https://github.com/hanyuhanyuhanyu/rust_c_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanyuhanyuhanyu/rust_c_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanyuhanyuhanyu%2Frust_c_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanyuhanyuhanyu%2Frust_c_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afc77d005213c7a5832bfcc7341079c520598d6e [INFO] checking hanyuhanyuhanyu/rust_c_compiler against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanyuhanyuhanyu%2Frust_c_compiler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hanyuhanyuhanyu/rust_c_compiler [INFO] finished tweaking git repo https://github.com/hanyuhanyuhanyu/rust_c_compiler [INFO] tweaked toml for git repo https://github.com/hanyuhanyuhanyu/rust_c_compiler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hanyuhanyuhanyu/rust_c_compiler on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hanyuhanyuhanyu/rust_c_compiler 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfcad0159b52f9c1565bbfd3b357f9e5dda48efd88d70302082f8149a11596e6 [INFO] running `Command { std: "docker" "start" "-a" "dfcad0159b52f9c1565bbfd3b357f9e5dda48efd88d70302082f8149a11596e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfcad0159b52f9c1565bbfd3b357f9e5dda48efd88d70302082f8149a11596e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfcad0159b52f9c1565bbfd3b357f9e5dda48efd88d70302082f8149a11596e6", kill_on_drop: false }` [INFO] [stdout] dfcad0159b52f9c1565bbfd3b357f9e5dda48efd88d70302082f8149a11596e6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bc31a6c59d0ac0392804636d6fed53aa6943ad1fdb7578926713c799df433a7 [INFO] running `Command { std: "docker" "start" "-a" "4bc31a6c59d0ac0392804636d6fed53aa6943ad1fdb7578926713c799df433a7", kill_on_drop: false }` [INFO] [stderr] Checking ccm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NOT_AVAILABLE_FOR_ARRAY_INDEX` [INFO] [stdout] --> src/compiler/parser.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NOT_AVAILABLE_FOR_ARRAY_INDEX, RETURN, TYPE_WANTED, TYPES, WHILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NOT_AVAILABLE_FOR_ARRAY_INDEX` [INFO] [stdout] --> src/compiler/parser.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NOT_AVAILABLE_FOR_ARRAY_INDEX, RETURN, TYPE_WANTED, TYPES, WHILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NOT_AVAILABLE_FOR_ARRAY_INDEX` [INFO] [stdout] --> src/compiler/parser.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NOT_AVAILABLE_FOR_ARRAY_INDEX, RETURN, TYPE_WANTED, TYPES, WHILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NOT_AVAILABLE_FOR_ARRAY_INDEX` [INFO] [stdout] --> src/compiler/parser.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NOT_AVAILABLE_FOR_ARRAY_INDEX, RETURN, TYPE_WANTED, TYPES, WHILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_AVAILABLE_FOR_ARRAY_INDEX` is never used [INFO] [stdout] --> src/compiler/consts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const NOT_AVAILABLE_FOR_ARRAY_INDEX: &str = "this type is not available for array index"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl Unary { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl Primary { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/node.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Ident { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 261 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ident` 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: method `can_be_for_array_index` is never used [INFO] [stdout] --> src/compiler/type_.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn can_be_for_array_index(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_AVAILABLE_FOR_ARRAY_INDEX` is never used [INFO] [stdout] --> src/compiler/consts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const NOT_AVAILABLE_FOR_ARRAY_INDEX: &str = "this type is not available for array index"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl Unary { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl Primary { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/node.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Ident { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 261 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ident` 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: method `can_be_for_array_index` is never used [INFO] [stdout] --> src/compiler/type_.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn can_be_for_array_index(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_AVAILABLE_FOR_ARRAY_INDEX` is never used [INFO] [stdout] --> src/compiler/consts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const NOT_AVAILABLE_FOR_ARRAY_INDEX: &str = "this type is not available for array index"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl Unary { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl Primary { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/node.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Ident { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 261 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ident` 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: method `can_be_for_array_index` is never used [INFO] [stdout] --> src/compiler/type_.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn can_be_for_array_index(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_AVAILABLE_FOR_ARRAY_INDEX` is never used [INFO] [stdout] --> src/compiler/consts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const NOT_AVAILABLE_FOR_ARRAY_INDEX: &str = "this type is not available for array index"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl Unary { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/compiler/node.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl Primary { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn ident(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/node.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Ident { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 261 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ident` 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: method `can_be_for_array_index` is never used [INFO] [stdout] --> src/compiler/type_.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn can_be_for_array_index(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "4bc31a6c59d0ac0392804636d6fed53aa6943ad1fdb7578926713c799df433a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc31a6c59d0ac0392804636d6fed53aa6943ad1fdb7578926713c799df433a7", kill_on_drop: false }` [INFO] [stdout] 4bc31a6c59d0ac0392804636d6fed53aa6943ad1fdb7578926713c799df433a7