[INFO] updating cached repository https://github.com/danielbank/rust-const-generics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e75010476b4a3c761bfc603f6819e131c2b723bd [INFO] checking danielbank/rust-const-generics/e75010476b4a3c761bfc603f6819e131c2b723bd against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbank%2Frust-const-generics" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danielbank/rust-const-generics [INFO] finished tweaking git repo https://github.com/danielbank/rust-const-generics [INFO] tweaked toml for git repo https://github.com/danielbank/rust-const-generics written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danielbank/rust-const-generics on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danielbank/rust-const-generics 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking danielbank/rust-const-generics/e75010476b4a3c761bfc603f6819e131c2b723bd against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbank%2Frust-const-generics" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danielbank/rust-const-generics [INFO] finished tweaking git repo https://github.com/danielbank/rust-const-generics [INFO] tweaked toml for git repo https://github.com/danielbank/rust-const-generics written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danielbank/rust-const-generics on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danielbank/rust-const-generics 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking danielbank/rust-const-generics/e75010476b4a3c761bfc603f6819e131c2b723bd against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbank%2Frust-const-generics" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danielbank/rust-const-generics [INFO] finished tweaking git repo https://github.com/danielbank/rust-const-generics [INFO] tweaked toml for git repo https://github.com/danielbank/rust-const-generics written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danielbank/rust-const-generics on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danielbank/rust-const-generics 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256f9af43f63ad1abc5635b4a178a181aeb401137c49f2f45a13e7c88a9a75db [INFO] running `Command { std: "docker" "start" "-a" "256f9af43f63ad1abc5635b4a178a181aeb401137c49f2f45a13e7c88a9a75db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256f9af43f63ad1abc5635b4a178a181aeb401137c49f2f45a13e7c88a9a75db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256f9af43f63ad1abc5635b4a178a181aeb401137c49f2f45a13e7c88a9a75db", kill_on_drop: false }` [INFO] [stdout] 256f9af43f63ad1abc5635b4a178a181aeb401137c49f2f45a13e7c88a9a75db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a263a956389839b95e26cff50a2e49d56a6934b1d569c1266b10370c4ac61d7e [INFO] running `Command { std: "docker" "start" "-a" "a263a956389839b95e26cff50a2e49d56a6934b1d569c1266b10370c4ac61d7e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Checking ndarray-image v0.3.0 [INFO] [stderr] Checking rust-const-generics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> examples/state.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.56.0; see for more information [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&'static str` is forbidden as the type of a const generic parameter [INFO] [stdout] --> examples/state.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | struct State { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool`, and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(unsized_const_params)]` to the crate attributes to enable references to implement the `ConstParamTy` trait [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(unsized_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> examples/rectangle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct RectangularArray { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 5 | data: [[T; WIDTH]; HEIGHT], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RectangularArray` 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: fields `width`, `height`, and `data` are never read [INFO] [stdout] --> examples/rectangle_no_const_generic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct RectangularArray { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 3 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | data: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RectangularArray` 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] [stderr] error: could not compile `rust-const-generics` (example "state") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a263a956389839b95e26cff50a2e49d56a6934b1d569c1266b10370c4ac61d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a263a956389839b95e26cff50a2e49d56a6934b1d569c1266b10370c4ac61d7e", kill_on_drop: false }` [INFO] [stdout] a263a956389839b95e26cff50a2e49d56a6934b1d569c1266b10370c4ac61d7e