[INFO] fetching crate alloc-tls 0.2.0... [INFO] checking alloc-tls-0.2.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate alloc-tls 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate alloc-tls 0.2.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate alloc-tls 0.2.0 [INFO] finished tweaking crates.io crate alloc-tls 0.2.0 [INFO] tweaked toml for crates.io crate alloc-tls 0.2.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alloc-fmt v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cb4ae4ed9016087afd844d0fbdee54620258b9509ff95f4b77b76681173e1ae [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" "2cb4ae4ed9016087afd844d0fbdee54620258b9509ff95f4b77b76681173e1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cb4ae4ed9016087afd844d0fbdee54620258b9509ff95f4b77b76681173e1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb4ae4ed9016087afd844d0fbdee54620258b9509ff95f4b77b76681173e1ae", kill_on_drop: false }` [INFO] [stdout] 2cb4ae4ed9016087afd844d0fbdee54620258b9509ff95f4b77b76681173e1ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e778767b282e5913f575c300c11fe0d64a750567ea987ec18009b6f92457ee55 [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" "e778767b282e5913f575c300c11fe0d64a750567ea987ec18009b6f92457ee55", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking alloc-fmt v0.2.0 [INFO] [stderr] Checking alloc-tls v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/lib.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | pub const fn new(init: fn() -> T, register_dtor: fn()) -> TLSSlot { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/lib.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | pub const fn new(init: fn() -> T, register_dtor: fn()) -> TLSSlot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [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 E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alloc-tls` [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[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/lib.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | pub const fn new(init: fn() -> T, register_dtor: fn()) -> TLSSlot { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/lib.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | pub const fn new(init: fn() -> T, register_dtor: fn()) -> TLSSlot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [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 E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e778767b282e5913f575c300c11fe0d64a750567ea987ec18009b6f92457ee55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e778767b282e5913f575c300c11fe0d64a750567ea987ec18009b6f92457ee55", kill_on_drop: false }` [INFO] [stdout] e778767b282e5913f575c300c11fe0d64a750567ea987ec18009b6f92457ee55