[INFO] fetching crate heapless 0.6.1... [INFO] checking heapless-0.6.1 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate heapless 0.6.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate heapless 0.6.1 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate heapless 0.6.1 [INFO] finished tweaking crates.io crate heapless 0.6.1 [INFO] tweaked toml for crates.io crate heapless 0.6.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 400d8d600b7567494bee54347ba73b46e0c557b974343f53d2b07b120307849d [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" "400d8d600b7567494bee54347ba73b46e0c557b974343f53d2b07b120307849d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "400d8d600b7567494bee54347ba73b46e0c557b974343f53d2b07b120307849d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400d8d600b7567494bee54347ba73b46e0c557b974343f53d2b07b120307849d", kill_on_drop: false }` [INFO] [stdout] 400d8d600b7567494bee54347ba73b46e0c557b974343f53d2b07b120307849d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06c6e1494f5294e054d87946dc7fd9449242daae56cdd5c833d7316f21f02ab0 [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" "06c6e1494f5294e054d87946dc7fd9449242daae56cdd5c833d7316f21f02ab0", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling heapless v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking as-slice v0.1.5 [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: cannot find macro `pool` in this scope [INFO] [stdout] --> src/pool/singleton.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | 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:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | 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: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[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> src/pool/singleton.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | 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:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | 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] --> 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:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | 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:349:21 [INFO] [stdout] | [INFO] [stdout] 349 | 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:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | 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:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let y = 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:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | let z = A::alloc().unwrap().init(X::new()); [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `Pool` [INFO] [stdout] --> src/pool/singleton.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | 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 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: aborting due to 11 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" "06c6e1494f5294e054d87946dc7fd9449242daae56cdd5c833d7316f21f02ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06c6e1494f5294e054d87946dc7fd9449242daae56cdd5c833d7316f21f02ab0", kill_on_drop: false }` [INFO] [stdout] 06c6e1494f5294e054d87946dc7fd9449242daae56cdd5c833d7316f21f02ab0