[INFO] cloning 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" "clone" "--bare" "https://github.com/danielbank/rust-const-generics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbank%2Frust-const-generics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbank%2Frust-const-generics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e75010476b4a3c761bfc603f6819e131c2b723bd [INFO] checking danielbank/rust-const-generics/e75010476b4a3c761bfc603f6819e131c2b723bd against try#f827120c9528a1a0e4c9881169eacd52170f9a08 for pr-130367 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbank%2Frust-const-generics" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielbank/rust-const-generics on toolchain f827120c9528a1a0e4c9881169eacd52170f9a08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f827120c9528a1a0e4c9881169eacd52170f9a08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+f827120c9528a1a0e4c9881169eacd52170f9a08" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray-image v0.3.0 [INFO] [stderr] Downloaded matrixmultiply v0.2.4 [INFO] [stderr] Downloaded generator v0.6.24 [INFO] [stderr] Downloaded crossbeam-utils v0.8.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.2 [INFO] [stderr] Downloaded loom v0.4.0 [INFO] [stderr] Downloaded image v0.23.13 [INFO] [stderr] Downloaded ndarray v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f827120c9528a1a0e4c9881169eacd52170f9a08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f9652c4858bd557eda2d6b6088650128ff350ba240a43eff6c52154752c1e66 [INFO] running `Command { std: "docker" "start" "-a" "1f9652c4858bd557eda2d6b6088650128ff350ba240a43eff6c52154752c1e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f9652c4858bd557eda2d6b6088650128ff350ba240a43eff6c52154752c1e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9652c4858bd557eda2d6b6088650128ff350ba240a43eff6c52154752c1e66", kill_on_drop: false }` [INFO] [stdout] 1f9652c4858bd557eda2d6b6088650128ff350ba240a43eff6c52154752c1e66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f827120c9528a1a0e4c9881169eacd52170f9a08" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b26f0912c5a08784c8f921ca489a011a645aa987571856b9d8038bc6d7c4341d [INFO] running `Command { std: "docker" "start" "-a" "b26f0912c5a08784c8f921ca489a011a645aa987571856b9d8038bc6d7c4341d", kill_on_drop: false }` [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 libc v0.2.86 [INFO] [stderr] Compiling rayon-core v1.9.0 [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 crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [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 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] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [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] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-const-generics` (example "state") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b26f0912c5a08784c8f921ca489a011a645aa987571856b9d8038bc6d7c4341d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26f0912c5a08784c8f921ca489a011a645aa987571856b9d8038bc6d7c4341d", kill_on_drop: false }` [INFO] [stdout] b26f0912c5a08784c8f921ca489a011a645aa987571856b9d8038bc6d7c4341d