[INFO] fetching crate alloc-tls 0.2.0... [INFO] checking alloc-tls-0.2.0 against try#82acd1d76add2232e19c1f0feb250d2a19ec6efe for pr-81213 [INFO] extracting crate alloc-tls 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate alloc-tls 0.2.0 on toolchain 82acd1d76add2232e19c1f0feb250d2a19ec6efe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b4facb66a5431f52150de9cb5d32941cf373fc2cec26208d696620c8ab43dfb [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" "1b4facb66a5431f52150de9cb5d32941cf373fc2cec26208d696620c8ab43dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b4facb66a5431f52150de9cb5d32941cf373fc2cec26208d696620c8ab43dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b4facb66a5431f52150de9cb5d32941cf373fc2cec26208d696620c8ab43dfb", kill_on_drop: false }` [INFO] [stdout] 1b4facb66a5431f52150de9cb5d32941cf373fc2cec26208d696620c8ab43dfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbfd49eb724b8b17c7f93fdd93b69f9e1f0633bbeb4e0524b174497b67f3b1f0 [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" "fbfd49eb724b8b17c7f93fdd93b69f9e1f0633bbeb4e0524b174497b67f3b1f0", kill_on_drop: false }` [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [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" "fbfd49eb724b8b17c7f93fdd93b69f9e1f0633bbeb4e0524b174497b67f3b1f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbfd49eb724b8b17c7f93fdd93b69f9e1f0633bbeb4e0524b174497b67f3b1f0", kill_on_drop: false }` [INFO] [stdout] fbfd49eb724b8b17c7f93fdd93b69f9e1f0633bbeb4e0524b174497b67f3b1f0