[INFO] fetching crate without-alloc 0.2.1... [INFO] checking without-alloc-0.2.1 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate without-alloc 0.2.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate without-alloc 0.2.1 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6df05f9926b4d224e6b025216f6e8f09b521f0827e008daa40c9a3909e01e0a1 [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" "6df05f9926b4d224e6b025216f6e8f09b521f0827e008daa40c9a3909e01e0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6df05f9926b4d224e6b025216f6e8f09b521f0827e008daa40c9a3909e01e0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df05f9926b4d224e6b025216f6e8f09b521f0827e008daa40c9a3909e01e0a1", kill_on_drop: false }` [INFO] [stdout] 6df05f9926b4d224e6b025216f6e8f09b521f0827e008daa40c9a3909e01e0a1 [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd4f186bd58bce62958209ed530f1abd184f8b00a0df9ed4290a940f6279a3ca [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" "cd4f186bd58bce62958209ed530f1abd184f8b00a0df9ed4290a940f6279a3ca", 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] 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] [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] [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] [stderr] error: could not compile `without-alloc` [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[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: `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" "cd4f186bd58bce62958209ed530f1abd184f8b00a0df9ed4290a940f6279a3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd4f186bd58bce62958209ed530f1abd184f8b00a0df9ed4290a940f6279a3ca", kill_on_drop: false }` [INFO] [stdout] cd4f186bd58bce62958209ed530f1abd184f8b00a0df9ed4290a940f6279a3ca