[INFO] fetching crate heapless 0.5.6... [INFO] checking heapless-0.5.6 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate heapless 0.5.6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate heapless 0.5.6 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate heapless 0.5.6 [INFO] finished tweaking crates.io crate heapless 0.5.6 [INFO] tweaked toml for crates.io crate heapless 0.5.6 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cd9f5555eccb7751faf83dce96c2ff8a0f9b8d13228dae1eafc2d019a6e462f [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" "0cd9f5555eccb7751faf83dce96c2ff8a0f9b8d13228dae1eafc2d019a6e462f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cd9f5555eccb7751faf83dce96c2ff8a0f9b8d13228dae1eafc2d019a6e462f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd9f5555eccb7751faf83dce96c2ff8a0f9b8d13228dae1eafc2d019a6e462f", kill_on_drop: false }` [INFO] [stdout] 0cd9f5555eccb7751faf83dce96c2ff8a0f9b8d13228dae1eafc2d019a6e462f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 419fd67468a3015dc6db3dc9fed95da5deccd5fae351d1602297a59c69c5a3c3 [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" "419fd67468a3015dc6db3dc9fed95da5deccd5fae351d1602297a59c69c5a3c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling heapless v0.5.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `heapless` [INFO] [stdout] --> tests/tsan.rs:242:15 [INFO] [stdout] | [INFO] [stdout] 242 | heapless::pool!(A: [u8; 8]); [INFO] [stdout] | ^^^^ could not find `pool` in `heapless` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> tests/tsan.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | A::grow(unsafe { &mut M }); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> tests/tsan.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | let a = A::alloc().unwrap(); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pool` in this scope [INFO] [stdout] --> src/pool/singleton.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | pool!(A: u8); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pool` in this scope [INFO] [stdout] --> src/pool/singleton.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | pool!(A: X); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> tests/tsan.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let b = A::alloc().unwrap(); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> tests/tsan.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | let a = A::alloc().unwrap(); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `heapless::pool::singleton::Pool as _` [INFO] [stdout] --> tests/tsan.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | use heapless::pool::singleton::Pool as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> tests/tsan.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(A::alloc().is_none()); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | A::grow(unsafe { &mut MEMORY }); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | let x = A::alloc().unwrap().init(0); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | assert!(A::alloc().is_none()); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(*A::alloc().unwrap().init(1), 1); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | let x = A::alloc().unwrap().init(X::new()); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let y = A::alloc().unwrap().init(X::new()); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heapless` [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: unused import: `Pool` [INFO] [stdout] --> src/pool/singleton.rs:302:30 [INFO] [stdout] | [INFO] [stdout] 302 | use super::{super::Node, Pool}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "419fd67468a3015dc6db3dc9fed95da5deccd5fae351d1602297a59c69c5a3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "419fd67468a3015dc6db3dc9fed95da5deccd5fae351d1602297a59c69c5a3c3", kill_on_drop: false }` [INFO] [stdout] 419fd67468a3015dc6db3dc9fed95da5deccd5fae351d1602297a59c69c5a3c3