[INFO] fetching crate staticvec 0.10.8... [INFO] checking staticvec-0.10.8 against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] extracting crate staticvec 0.10.8 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate staticvec 0.10.8 on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "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-4/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cool_asserts v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00eebf3b4f7b5c909870fa96aaa03ed1837f1a8ccb0de36319ae0458378364b5 [INFO] running `Command { std: "docker" "start" "-a" "00eebf3b4f7b5c909870fa96aaa03ed1837f1a8ccb0de36319ae0458378364b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00eebf3b4f7b5c909870fa96aaa03ed1837f1a8ccb0de36319ae0458378364b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00eebf3b4f7b5c909870fa96aaa03ed1837f1a8ccb0de36319ae0458378364b5", kill_on_drop: false }` [INFO] [stdout] 00eebf3b4f7b5c909870fa96aaa03ed1837f1a8ccb0de36319ae0458378364b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bfa48cb3e4385eeb4ea289882162f4d13235ab3f9186aa776fd62c2106b7a71 [INFO] running `Command { std: "docker" "start" "-a" "5bfa48cb3e4385eeb4ea289882162f4d13235ab3f9186aa776fd62c2106b7a71", 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/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: 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/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/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" "5bfa48cb3e4385eeb4ea289882162f4d13235ab3f9186aa776fd62c2106b7a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bfa48cb3e4385eeb4ea289882162f4d13235ab3f9186aa776fd62c2106b7a71", kill_on_drop: false }` [INFO] [stdout] 5bfa48cb3e4385eeb4ea289882162f4d13235ab3f9186aa776fd62c2106b7a71