[INFO] fetching crate without-alloc 0.2.1... [INFO] checking without-alloc-0.2.1 against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] extracting crate without-alloc 0.2.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate without-alloc 0.2.1 on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate without-alloc 0.2.1 [INFO] finished tweaking crates.io crate without-alloc 0.2.1 [INFO] tweaked toml for crates.io crate without-alloc 0.2.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alloc-traits v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffb09c60d3bb9034578da535b2198e66bdb11a41735d3a912fc4127ddfc5b1a8 [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" "ffb09c60d3bb9034578da535b2198e66bdb11a41735d3a912fc4127ddfc5b1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffb09c60d3bb9034578da535b2198e66bdb11a41735d3a912fc4127ddfc5b1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb09c60d3bb9034578da535b2198e66bdb11a41735d3a912fc4127ddfc5b1a8", kill_on_drop: false }` [INFO] [stdout] ffb09c60d3bb9034578da535b2198e66bdb11a41735d3a912fc4127ddfc5b1a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60a715ad664b91d9f17f7d7a5b5f9a4e7b2ea15620450708914bee0de9c26c56 [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" "60a715ad664b91d9f17f7d7a5b5f9a4e7b2ea15620450708914bee0de9c26c56", kill_on_drop: false }` [INFO] [stderr] Checking alloc-traits v0.1.1 [INFO] [stderr] Checking without-alloc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `static_alloc` [INFO] [stdout] --> src/boxed.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | use static_alloc::Bump; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `static_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_alloc` [INFO] [stdout] --> src/rc.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | use static_alloc::Bump; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `static_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_alloc` [INFO] [stdout] --> tests/rc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use static_alloc::Bump; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `static_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_alloc` [INFO] [stdout] --> tests/box.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use static_alloc::Bump; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `static_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_alloc` [INFO] [stdout] --> tests/fixed_vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use static_alloc::Bump; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `static_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `without_alloc::alloc::LocalAllocLeakExt` [INFO] [stdout] --> tests/box.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use without_alloc::alloc::LocalAllocLeakExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alloc::LocalAllocLeakExt` [INFO] [stdout] --> src/boxed.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | use crate::alloc::LocalAllocLeakExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `without-alloc` [INFO] [stdout] warning: unused import: `crate::alloc::LocalAllocLeakExt` [INFO] [stdout] --> src/rc.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | use crate::alloc::LocalAllocLeakExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `without_alloc::alloc::LocalAllocLeakExt` [INFO] [stdout] --> tests/fixed_vec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use without_alloc::alloc::LocalAllocLeakExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_add` found for struct `without_alloc::rc::Rc<'_, _>` in the current scope [INFO] [stdout] --> tests/rc.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(rc.wrapping_add(1), 1); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `without_alloc::rc::Rc<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `rc` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ref` found for struct `without_alloc::rc::Rc<'_, _>` in the current scope [INFO] [stdout] --> tests/rc.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(*rc.as_ref(), 0); [INFO] [stdout] | ^^^^^^ method not found in `without_alloc::rc::Rc<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `rc` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "60a715ad664b91d9f17f7d7a5b5f9a4e7b2ea15620450708914bee0de9c26c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a715ad664b91d9f17f7d7a5b5f9a4e7b2ea15620450708914bee0de9c26c56", kill_on_drop: false }` [INFO] [stdout] 60a715ad664b91d9f17f7d7a5b5f9a4e7b2ea15620450708914bee0de9c26c56