[INFO] crate heapless 0.5.5 is already in cache [INFO] testing heapless-0.5.5 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate heapless 0.5.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate heapless 0.5.5 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate heapless 0.5.5 [INFO] finished tweaking crates.io crate heapless 0.5.5 [INFO] tweaked toml for crates.io crate heapless 0.5.5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7e24d0d348dce1a0693f2bf3c22189dffbd033a027e5146770d498a127a3e87 [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" "b7e24d0d348dce1a0693f2bf3c22189dffbd033a027e5146770d498a127a3e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7e24d0d348dce1a0693f2bf3c22189dffbd033a027e5146770d498a127a3e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e24d0d348dce1a0693f2bf3c22189dffbd033a027e5146770d498a127a3e87", kill_on_drop: false }` [INFO] [stdout] b7e24d0d348dce1a0693f2bf3c22189dffbd033a027e5146770d498a127a3e87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cc24b83ccf8abc80d1497f48e393c42673a6131f9c301fd281cfc821655affa [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" "6cc24b83ccf8abc80d1497f48e393c42673a6131f9c301fd281cfc821655affa", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling heapless v0.5.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "6cc24b83ccf8abc80d1497f48e393c42673a6131f9c301fd281cfc821655affa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc24b83ccf8abc80d1497f48e393c42673a6131f9c301fd281cfc821655affa", kill_on_drop: false }` [INFO] [stdout] 6cc24b83ccf8abc80d1497f48e393c42673a6131f9c301fd281cfc821655affa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eca8101ee4c64b55fc1b5476ce8b8f3ef4409e2396ac343bf54699b56984a56 [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" "9eca8101ee4c64b55fc1b5476ce8b8f3ef4409e2396ac343bf54699b56984a56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling ufmt v0.1.0 [INFO] [stderr] Compiling heapless v0.5.5 (/opt/rustwide/workdir) [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 or module `A` [INFO] [stdout] --> tests/tsan.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | A::grow(unsafe { &mut M }); [INFO] [stdout] | ^ use of undeclared type or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `A` [INFO] [stdout] --> tests/tsan.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | let a = A::alloc().unwrap(); [INFO] [stdout] | ^ use of undeclared type or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `A` [INFO] [stdout] --> tests/tsan.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let b = A::alloc().unwrap(); [INFO] [stdout] | ^ use of undeclared type or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `A` [INFO] [stdout] --> tests/tsan.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | let a = A::alloc().unwrap(); [INFO] [stdout] | ^ use of undeclared type or module `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: 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: 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 or module `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 or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `A` [INFO] [stdout] [INFO] [stdout] [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" "9eca8101ee4c64b55fc1b5476ce8b8f3ef4409e2396ac343bf54699b56984a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eca8101ee4c64b55fc1b5476ce8b8f3ef4409e2396ac343bf54699b56984a56", kill_on_drop: false }` [INFO] [stdout] 9eca8101ee4c64b55fc1b5476ce8b8f3ef4409e2396ac343bf54699b56984a56