[INFO] fetching crate staticvec 0.10.8... [INFO] checking staticvec-0.10.8 against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] extracting crate staticvec 0.10.8 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate staticvec 0.10.8 on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate staticvec 0.10.8 [INFO] removed 3 missing examples [INFO] removed 3 missing tests [INFO] finished tweaking crates.io crate staticvec 0.10.8 [INFO] tweaked toml for crates.io crate staticvec 0.10.8 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate crates.io crate staticvec 0.10.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] beadabac61a46e0e836c2111157dc597470290a2e94a3de62616f902b01ea15c [INFO] running `Command { std: "docker" "start" "-a" "beadabac61a46e0e836c2111157dc597470290a2e94a3de62616f902b01ea15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "beadabac61a46e0e836c2111157dc597470290a2e94a3de62616f902b01ea15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beadabac61a46e0e836c2111157dc597470290a2e94a3de62616f902b01ea15c", kill_on_drop: false }` [INFO] [stdout] beadabac61a46e0e836c2111157dc597470290a2e94a3de62616f902b01ea15c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ddfe7bfe9574bfec2f3b1c9d9059767df38adf4c2dca5a8ff272744b13f1c66 [INFO] running `Command { std: "docker" "start" "-a" "6ddfe7bfe9574bfec2f3b1c9d9059767df38adf4c2dca5a8ff272744b13f1c66", kill_on_drop: false }` [INFO] [stderr] Checking cool_asserts v1.1.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking staticvec v0.10.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:771:5 [INFO] [stdout] | [INFO] [stdout] 771 | self.mut_ptr_at_unchecked(length).write(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1021:14 [INFO] [stdout] | [INFO] [stdout] 1021 | Some(ptr::replace(self.mut_ptr_at_unchecked(index), last_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1049:7 [INFO] [stdout] | [INFO] [stdout] 1049 | ptr::replace(self.mut_ptr_at_unchecked(index), last_value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1074:7 [INFO] [stdout] | [INFO] [stdout] 1074 | self_ptr.write(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1729:9 [INFO] [stdout] | [INFO] [stdout] 1729 | res_ptr.write(self.ptr_at_unchecked(i).read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1730:9 [INFO] [stdout] | [INFO] [stdout] 1730 | res_ptr.offset(1).write(separator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1736:7 [INFO] [stdout] | [INFO] [stdout] 1736 | res_ptr.write(self.ptr_at_unchecked(i).read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:771:5 [INFO] [stdout] | [INFO] [stdout] 771 | self.mut_ptr_at_unchecked(length).write(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1021:14 [INFO] [stdout] | [INFO] [stdout] 1021 | Some(ptr::replace(self.mut_ptr_at_unchecked(index), last_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1049:7 [INFO] [stdout] | [INFO] [stdout] 1049 | ptr::replace(self.mut_ptr_at_unchecked(index), last_value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1074:7 [INFO] [stdout] | [INFO] [stdout] 1074 | self_ptr.write(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | dest.write(code as u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dest.write((code >> 6 & 0x1F) as u8 | TAG_TWO_B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | dest.offset(1).write((code & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dest.write((code >> 12 & 0x0F) as u8 | TAG_THREE_B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | dest.offset(1).write((code >> 6 & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | dest.offset(2).write((code & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | dest.write((code >> 18 & 0x07) as u8 | TAG_FOUR_B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dest.offset(1).write((code >> 12 & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | dest.offset(2).write((code >> 6 & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | dest.offset(3).write((code & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1729:9 [INFO] [stdout] | [INFO] [stdout] 1729 | res_ptr.write(self.ptr_at_unchecked(i).read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1730:9 [INFO] [stdout] | [INFO] [stdout] 1730 | res_ptr.offset(1).write(separator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1736:7 [INFO] [stdout] | [INFO] [stdout] 1736 | res_ptr.write(self.ptr_at_unchecked(i).read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticvec` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | dest.write(code as u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dest.write((code >> 6 & 0x1F) as u8 | TAG_TWO_B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | dest.offset(1).write((code & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dest.write((code >> 12 & 0x0F) as u8 | TAG_THREE_B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | dest.offset(1).write((code >> 6 & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | dest.offset(2).write((code & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | dest.write((code >> 18 & 0x07) as u8 | TAG_FOUR_B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dest.offset(1).write((code >> 12 & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | dest.offset(2).write((code >> 6 & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/string/string_utils.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | dest.offset(3).write((code & 0x3F) as u8 | TAG_CONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6ddfe7bfe9574bfec2f3b1c9d9059767df38adf4c2dca5a8ff272744b13f1c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ddfe7bfe9574bfec2f3b1c9d9059767df38adf4c2dca5a8ff272744b13f1c66", kill_on_drop: false }` [INFO] [stdout] 6ddfe7bfe9574bfec2f3b1c9d9059767df38adf4c2dca5a8ff272744b13f1c66