[INFO] fetching crate pia 0.2.0... [INFO] documenting pia-0.2.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate pia 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pia 0.2.0 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pia 0.2.0 [INFO] finished tweaking crates.io crate pia 0.2.0 [INFO] tweaked toml for crates.io crate pia 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fab422c5138a3b8ab4e1a894ef906f21cf62bc2a4d4f6b25fe29bcffdc20173f [INFO] running `Command { std: "docker" "start" "-a" "fab422c5138a3b8ab4e1a894ef906f21cf62bc2a4d4f6b25fe29bcffdc20173f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fab422c5138a3b8ab4e1a894ef906f21cf62bc2a4d4f6b25fe29bcffdc20173f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab422c5138a3b8ab4e1a894ef906f21cf62bc2a4d4f6b25fe29bcffdc20173f", kill_on_drop: false }` [INFO] [stdout] fab422c5138a3b8ab4e1a894ef906f21cf62bc2a4d4f6b25fe29bcffdc20173f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df5a728905345447acf20054c0b22beffea93f8eb59f611a8fee8c26fd1b1078 [INFO] running `Command { std: "docker" "start" "-a" "df5a728905345447acf20054c0b22beffea93f8eb59f611a8fee8c26fd1b1078", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Documenting pia v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | content: [u8; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | content: [u8; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:219:35 [INFO] [stdout] | [INFO] [stdout] 219 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | content: [0; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | content: [0; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:237:35 [INFO] [stdout] | [INFO] [stdout] 237 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:246:35 [INFO] [stdout] | [INFO] [stdout] 246 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:254:35 [INFO] [stdout] | [INFO] [stdout] 254 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:288:35 [INFO] [stdout] | [INFO] [stdout] 288 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 307 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:307:35 [INFO] [stdout] | [INFO] [stdout] 307 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `pia` [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name pia src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=f6127ffe7d1a39d4 -L dependency=/opt/rustwide/target/debug/deps --extern log=/opt/rustwide/target/debug/deps/liblog-11fcf639aa746c8b.rmeta --cap-lints=warn --crate-version 0.2.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "df5a728905345447acf20054c0b22beffea93f8eb59f611a8fee8c26fd1b1078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5a728905345447acf20054c0b22beffea93f8eb59f611a8fee8c26fd1b1078", kill_on_drop: false }` [INFO] [stdout] df5a728905345447acf20054c0b22beffea93f8eb59f611a8fee8c26fd1b1078