[INFO] cloning repository https://github.com/slightlyoutofphase/staticvec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slightlyoutofphase/staticvec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightlyoutofphase%2Fstaticvec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightlyoutofphase%2Fstaticvec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 719abeaf8a6d044eaacc4760553e0565d67c1f8b [INFO] checking slightlyoutofphase/staticvec against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightlyoutofphase%2Fstaticvec" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slightlyoutofphase/staticvec on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/slightlyoutofphase/staticvec [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/slightlyoutofphase/staticvec [INFO] tweaked toml for git repo https://github.com/slightlyoutofphase/staticvec written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a0e211dc9ddf67c795cc14b2eb421fbd0036032b1bc342c370892480431b58e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5a0e211dc9ddf67c795cc14b2eb421fbd0036032b1bc342c370892480431b58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a0e211dc9ddf67c795cc14b2eb421fbd0036032b1bc342c370892480431b58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a0e211dc9ddf67c795cc14b2eb421fbd0036032b1bc342c370892480431b58e", kill_on_drop: false }` [INFO] [stdout] 5a0e211dc9ddf67c795cc14b2eb421fbd0036032b1bc342c370892480431b58e [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" "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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fedceca679ea43bb664cecc6d8d30e6ddcce7afdab1f4ceea45d83625293c25c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fedceca679ea43bb664cecc6d8d30e6ddcce7afdab1f4ceea45d83625293c25c", kill_on_drop: false }` [INFO] [stderr] Checking cool_asserts v1.0.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking staticvec v0.10.6 (/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:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | / values [INFO] [stdout] 175 | | .as_ptr() [INFO] [stdout] 176 | | .copy_to_nonoverlapping(Self::first_ptr_mut(&mut data), length); [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:950:7 [INFO] [stdout] | [INFO] [stdout] 950 | self_ptr.offset(1).copy_to(self_ptr, old_length - index - 1); [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:975:7 [INFO] [stdout] | [INFO] [stdout] 975 | self_ptr.offset(1).copy_to(self_ptr, old_length - index - 1); [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:1018:14 [INFO] [stdout] | [INFO] [stdout] 1018 | 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:1046:7 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1070:7 [INFO] [stdout] | [INFO] [stdout] 1070 | self_ptr.copy_to(self_ptr.offset(1), old_length - index); [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:1158:7 [INFO] [stdout] | [INFO] [stdout] 1158 | self_ptr.copy_to(self_ptr.add(values_length), old_length - index); [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:1159:7 [INFO] [stdout] | [INFO] [stdout] 1159 | self_ptr.copy_from_nonoverlapping(values.as_ptr(), values_length); [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:1217:9 [INFO] [stdout] | [INFO] [stdout] 1217 | self_ptr.copy_to(self_ptr.add(values_length), old_length - index); [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:1218:9 [INFO] [stdout] | [INFO] [stdout] 1218 | self_ptr.copy_from_nonoverlapping(values.as_ptr(), values_length); [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:1402:14 [INFO] [stdout] | [INFO] [stdout] 1402 | unsafe { self.as_ptr().copy_to_nonoverlapping(res_ptr, length) }; [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:1536:7 [INFO] [stdout] | [INFO] [stdout] 1536 | / values [INFO] [stdout] 1537 | | .as_ptr() [INFO] [stdout] 1538 | | .copy_to_nonoverlapping(self.mut_ptr_at_unchecked(old_length), added_length); [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/mod.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | string.as_ptr().copy_to_nonoverlapping(dest, string_length); [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/trait_impls.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / self [INFO] [stdout] 117 | | .as_ptr() [INFO] [stdout] 118 | | .copy_to_nonoverlapping(Self::first_ptr_mut(&mut res), length); [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/trait_impls.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | / self [INFO] [stdout] 132 | | .as_mut_ptr() [INFO] [stdout] 133 | | .copy_from_nonoverlapping(rhs.as_ptr(), rhs.length); [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/utils.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | src.add(i - 1).copy_to_nonoverlapping(dest, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 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:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | / values [INFO] [stdout] 175 | | .as_ptr() [INFO] [stdout] 176 | | .copy_to_nonoverlapping(Self::first_ptr_mut(&mut data), length); [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:950:7 [INFO] [stdout] | [INFO] [stdout] 950 | self_ptr.offset(1).copy_to(self_ptr, old_length - index - 1); [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:975:7 [INFO] [stdout] | [INFO] [stdout] 975 | self_ptr.offset(1).copy_to(self_ptr, old_length - index - 1); [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:1018:14 [INFO] [stdout] | [INFO] [stdout] 1018 | 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:1046:7 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1070:7 [INFO] [stdout] | [INFO] [stdout] 1070 | self_ptr.copy_to(self_ptr.offset(1), old_length - index); [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:1158:7 [INFO] [stdout] | [INFO] [stdout] 1158 | self_ptr.copy_to(self_ptr.add(values_length), old_length - index); [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:1159:7 [INFO] [stdout] | [INFO] [stdout] 1159 | self_ptr.copy_from_nonoverlapping(values.as_ptr(), values_length); [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:1217:9 [INFO] [stdout] | [INFO] [stdout] 1217 | self_ptr.copy_to(self_ptr.add(values_length), old_length - index); [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:1218:9 [INFO] [stdout] | [INFO] [stdout] 1218 | self_ptr.copy_from_nonoverlapping(values.as_ptr(), values_length); [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:1402:14 [INFO] [stdout] | [INFO] [stdout] 1402 | unsafe { self.as_ptr().copy_to_nonoverlapping(res_ptr, length) }; [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:1536:7 [INFO] [stdout] | [INFO] [stdout] 1536 | / values [INFO] [stdout] 1537 | | .as_ptr() [INFO] [stdout] 1538 | | .copy_to_nonoverlapping(self.mut_ptr_at_unchecked(old_length), added_length); [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/mod.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | string.as_ptr().copy_to_nonoverlapping(dest, string_length); [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/trait_impls.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / self [INFO] [stdout] 117 | | .as_ptr() [INFO] [stdout] 118 | | .copy_to_nonoverlapping(Self::first_ptr_mut(&mut res), length); [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/trait_impls.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | / self [INFO] [stdout] 132 | | .as_mut_ptr() [INFO] [stdout] 133 | | .copy_from_nonoverlapping(rhs.as_ptr(), rhs.length); [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/utils.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | src.add(i - 1).copy_to_nonoverlapping(dest, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 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" "fedceca679ea43bb664cecc6d8d30e6ddcce7afdab1f4ceea45d83625293c25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fedceca679ea43bb664cecc6d8d30e6ddcce7afdab1f4ceea45d83625293c25c", kill_on_drop: false }` [INFO] [stdout] fedceca679ea43bb664cecc6d8d30e6ddcce7afdab1f4ceea45d83625293c25c