[INFO] fetching crate esp-alloc 0.8.0...
[INFO] testing esp-alloc-0.8.0 against beta-2025-09-21 for beta-1.91-2
[INFO] extracting crate esp-alloc 0.8.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate esp-alloc 0.8.0
[INFO] finished tweaking crates.io crate esp-alloc 0.8.0
[INFO] tweaked toml for crates.io crate esp-alloc 0.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate esp-alloc 0.8.0 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate esp-alloc 0.8.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d458474b54e91a860a794648fcd9f0b568f83a396725e3e76a7ce8996a824c09
[INFO] running `Command { std: "docker" "start" "-a" "d458474b54e91a860a794648fcd9f0b568f83a396725e3e76a7ce8996a824c09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d458474b54e91a860a794648fcd9f0b568f83a396725e3e76a7ce8996a824c09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d458474b54e91a860a794648fcd9f0b568f83a396725e3e76a7ce8996a824c09", kill_on_drop: false }`
[INFO] [stdout] d458474b54e91a860a794648fcd9f0b568f83a396725e3e76a7ce8996a824c09
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bea1e3289a37baabfdcea798e9791e7d564605b456810b9f7a66fa74eea2a285
[INFO] running `Command { std: "docker" "start" "-a" "bea1e3289a37baabfdcea798e9791e7d564605b456810b9f7a66fa74eea2a285", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]    Compiling linked_list_allocator v0.10.5
[INFO] [stderr]    Compiling allocator-api2 v0.3.0
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling enumset_derive v0.11.0
[INFO] [stderr]    Compiling enumset v1.1.6
[INFO] [stderr]    Compiling esp-alloc v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.48s
[INFO] running `Command { std: "docker" "inspect" "bea1e3289a37baabfdcea798e9791e7d564605b456810b9f7a66fa74eea2a285", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bea1e3289a37baabfdcea798e9791e7d564605b456810b9f7a66fa74eea2a285", kill_on_drop: false }`
[INFO] [stdout] bea1e3289a37baabfdcea798e9791e7d564605b456810b9f7a66fa74eea2a285
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ca60fb75a2a34c73741d8ce2dc890b576a8bfe6e9a4664ff48fa9f10698c3c2
[INFO] running `Command { std: "docker" "start" "-a" "0ca60fb75a2a34c73741d8ce2dc890b576a8bfe6e9a4664ff48fa9f10698c3c2", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "0ca60fb75a2a34c73741d8ce2dc890b576a8bfe6e9a4664ff48fa9f10698c3c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ca60fb75a2a34c73741d8ce2dc890b576a8bfe6e9a4664ff48fa9f10698c3c2", kill_on_drop: false }`
[INFO] [stdout] 0ca60fb75a2a34c73741d8ce2dc890b576a8bfe6e9a4664ff48fa9f10698c3c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f45c035dac981b6acee9a542990eddcf79349ad65f0dc69bca0fb807bde9021e
[INFO] running `Command { std: "docker" "start" "-a" "f45c035dac981b6acee9a542990eddcf79349ad65f0dc69bca0fb807bde9021e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]    Doc-tests esp_alloc
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 68) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 100) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 76) ... FAILED
[INFO] [stdout] test src/macros.rs - macros::heap_allocator (line 7) - compile ... FAILED
[INFO] [stdout] test src/macros.rs - macros::psram_allocator (line 36) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 61) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 29) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 120) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `MaybeUninit` in this scope
[INFO] [stdout]  --> src/lib.rs:15:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     static mut HEAP: MaybeUninit<[u8; HEAP_SIZE]> = MaybeUninit::uninit();
[INFO] [stdout]   |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this union
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::mem::MaybeUninit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaybeUninit`
[INFO] [stdout]  --> src/lib.rs:15:53
[INFO] [stdout]   |
[INFO] [stdout] 9 |     static mut HEAP: MaybeUninit<[u8; HEAP_SIZE]> = MaybeUninit::uninit();
[INFO] [stdout]   |                                                     ^^^^^^^^^^^ use of undeclared type `MaybeUninit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this union
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::mem::MaybeUninit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 68) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `esp_hal`
[INFO] [stdout]  --> src/lib.rs:71:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | esp_alloc::psram_allocator!(p.PSRAM, esp_hal::psram);
[INFO] [stdout]   |                                      ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]  --> src/lib.rs:70:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | let p = esp_hal::init(esp_hal::Config::default());
[INFO] [stdout]   |                       ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]  --> src/lib.rs:70:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | let p = esp_hal::init(esp_hal::Config::default());
[INFO] [stdout]   |         ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 100) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `esp_hal`
[INFO] [stdout]  --> src/lib.rs:104:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | esp_alloc::psram_allocator!(p.PSRAM, esp_hal::psram);
[INFO] [stdout]   |                                      ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]  --> src/lib.rs:102:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | let p = esp_hal::init(esp_hal::Config::default());
[INFO] [stdout]   |                       ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]  --> src/lib.rs:102:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | let p = esp_hal::init(esp_hal::Config::default());
[INFO] [stdout]   |         ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `allocator_api`
[INFO] [stdout]  --> src/lib.rs:106:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut vec: Vec<u32, _> = Vec::new_in(esp_alloc::InternalMemory);
[INFO] [stdout]   |                  -----^
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  help: consider wrapping the inner types in tuple: `(u32, _)`
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `allocator_api`
[INFO] [stdout]  --> src/lib.rs:106:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut vec: Vec<u32, _> = Vec::new_in(esp_alloc::InternalMemory);
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `InternalMemory: Allocator` is not satisfied
[INFO] [stdout]  --> src/lib.rs:106:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut vec: Vec<u32, _> = Vec::new_in(esp_alloc::InternalMemory);
[INFO] [stdout]   |                            ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Allocator` is not implemented for `InternalMemory`
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            required by a bound introduced by this call
[INFO] [stdout]   |
[INFO] [stdout]   = help: the following other types implement trait `Allocator`:
[INFO] [stdout]             &A
[INFO] [stdout]             System
[INFO] [stdout]             std::alloc::Global
[INFO] [stdout] note: required by a bound in `Vec::<T, A>::new_in`
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/vec/mod.rs:894:5
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `InternalMemory: Allocator` is not satisfied
[INFO] [stdout]  --> src/lib.rs:106:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut vec: Vec<u32, _> = Vec::new_in(esp_alloc::InternalMemory);
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Allocator` is not implemented for `InternalMemory`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the following other types implement trait `Allocator`:
[INFO] [stdout]             &A
[INFO] [stdout]             System
[INFO] [stdout]             std::alloc::Global
[INFO] [stdout] note: required by a bound in `Vec`
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/vec/mod.rs:434:1
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<u32, InternalMemory>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:108:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | vec.push(0xabcd1234);
[INFO] [stdout]    |     ^^^^ method cannot be called on `Vec<u32, InternalMemory>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/allocators.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct InternalMemory;
[INFO] [stdout]    | ------------------------- doesn't satisfy `InternalMemory: Allocator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `InternalMemory: Allocator`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `InternalMemory: Allocator` is not satisfied
[INFO] [stdout]  --> src/lib.rs:106:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut vec: Vec<u32, _> = Vec::new_in(esp_alloc::InternalMemory);
[INFO] [stdout]   |              ^^^^^^^^^^^ the trait `Allocator` is not implemented for `InternalMemory`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the following other types implement trait `Allocator`:
[INFO] [stdout]             &A
[INFO] [stdout]             System
[INFO] [stdout]             std::alloc::Global
[INFO] [stdout] note: required by a bound in `Vec`
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/vec/mod.rs:434:1
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `InternalMemory: Allocator` is not satisfied
[INFO] [stdout]   --> src/lib.rs:109:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert_eq!(vec[0], 0xabcd1234);
[INFO] [stdout]    |            ^^^ the trait `Allocator` is not implemented for `InternalMemory`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Allocator`:
[INFO] [stdout]              &A
[INFO] [stdout]              System
[INFO] [stdout]              std::alloc::Global
[INFO] [stdout]    = note: required for `Vec<u32, InternalMemory>` to implement `Index<_>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 76) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `esp_hal`
[INFO] [stdout]  --> src/lib.rs:79:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | esp_alloc::psram_allocator!(p.PSRAM, esp_hal::psram);
[INFO] [stdout]   |                                      ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]  --> src/lib.rs:78:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | let p = esp_hal::init(esp_hal::Config::default());
[INFO] [stdout]   |                       ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]  --> src/lib.rs:78:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | let p = esp_hal::init(esp_hal::Config::default());
[INFO] [stdout]   |         ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `allocator_api`
[INFO] [stdout]  --> src/lib.rs:81:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut vec = Vec::<u32>::new_in(esp_alloc::ExternalMemory);
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:81:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut vec = Vec::<u32>::new_in(esp_alloc::ExternalMemory);
[INFO] [stdout]   |               ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Global`, found `ExternalMemory`
[INFO] [stdout]   |               |
[INFO] [stdout]   |               arguments to this function are incorrect
[INFO] [stdout]   |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/vec/mod.rs:894:18
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macros.rs - macros::heap_allocator (line 7) stdout ----
[INFO] [stdout] error: cannot find macro `heap_allocator` in this scope
[INFO] [stdout]  --> src/macros.rs:11:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | heap_allocator!(#[link_section = ".dram2_uninit"] size: 64000);
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use esp_alloc::heap_allocator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `heap_allocator` in this scope
[INFO] [stdout]  --> src/macros.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | heap_allocator!(size: 64000);
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use esp_alloc::heap_allocator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macros.rs - macros::psram_allocator (line 36) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hal`
[INFO] [stdout]  --> src/macros.rs:38:48
[INFO] [stdout]   |
[INFO] [stdout] 5 | esp_alloc::psram_allocator!(peripherals.PSRAM, hal::psram);
[INFO] [stdout]   |                                                ^^^ use of unresolved module or unlinked crate `hal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/macros.rs:38:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | esp_alloc::psram_allocator!(peripherals.PSRAM, hal::psram);
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 61) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `PSRAM_ALLOCATOR` in this scope
[INFO] [stdout]  --> src/lib.rs:62:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | let large_buffer: Vec<u8, _> = Vec::with_capacity_in(1048576, &PSRAM_ALLOCATOR);
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `allocator_api`
[INFO] [stdout]  --> src/lib.rs:62:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | let large_buffer: Vec<u8, _> = Vec::with_capacity_in(1048576, &PSRAM_ALLOCATOR);
[INFO] [stdout]   |                       ----^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: consider wrapping the inner types in tuple: `(u8, _)`
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `allocator_api`
[INFO] [stdout]  --> src/lib.rs:62:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | let large_buffer: Vec<u8, _> = Vec::with_capacity_in(1048576, &PSRAM_ALLOCATOR);
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 29) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcxV3dt8/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libesp_alloc-5a715d2ced169f2c,libcfg_if-3e7fc4e38d4a72b5,liblinked_list_allocator-6fd99743afff2d72,libcritical_section-fb1ca78526e87a67,libenumset-1860459909350757,liballocator_api2-dd28a561e43a2e94}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcxV3dt8/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestncCe4m/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: _critical_section_1_0_acquire
[INFO] [stdout]           >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202)
[INFO] [stdout]           >>>               esp_alloc-5a715d2ced169f2c.esp_alloc.e6cfd1768b736551-cgu.0.rcgu.o:(critical_section::with::h06436ea67f3e6bc4) in archive /opt/rustwide/target/debug/deps/libesp_alloc-5a715d2ced169f2c.rlib
[INFO] [stdout]           >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202)
[INFO] [stdout]           >>>               esp_alloc-5a715d2ced169f2c.esp_alloc.e6cfd1768b736551-cgu.0.rcgu.o:(critical_section::with::h4e033a3584afd54d) in archive /opt/rustwide/target/debug/deps/libesp_alloc-5a715d2ced169f2c.rlib
[INFO] [stdout]           >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202)
[INFO] [stdout]           >>>               esp_alloc-5a715d2ced169f2c.esp_alloc.e6cfd1768b736551-cgu.0.rcgu.o:(critical_section::with::h77cbeb42ab3dd788) in archive /opt/rustwide/target/debug/deps/libesp_alloc-5a715d2ced169f2c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: _critical_section_1_0_release
[INFO] [stdout]           >>> referenced by lib.rs:219 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219)
[INFO] [stdout]           >>>               esp_alloc-5a715d2ced169f2c.esp_alloc.e6cfd1768b736551-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::hfded41f4af32b557) in archive /opt/rustwide/target/debug/deps/libesp_alloc-5a715d2ced169f2c.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `psram`
[INFO] [stdout]   --> src/lib.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             psram::psram_vaddr_start() as *mut u8,
[INFO] [stdout]    |             ^^^^^ use of unresolved module or unlinked crate `psram`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `psram`, use `cargo add psram` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `psram`
[INFO] [stdout]   --> src/lib.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |             psram::PSRAM_BYTES,
[INFO] [stdout]    |             ^^^^^ use of unresolved module or unlinked crate `psram`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `psram`, use `cargo add psram` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 120) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HeapStats` in this scope
[INFO] [stdout]  --> src/lib.rs:122:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let stats: HeapStats = esp_alloc::HEAP.stats();
[INFO] [stdout]   |            ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use esp_alloc::HeapStats;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 100)
[INFO] [stdout]     src/lib.rs - (line 120)
[INFO] [stdout]     src/lib.rs - (line 29)
[INFO] [stdout]     src/lib.rs - (line 45)
[INFO] [stdout]     src/lib.rs - (line 61)
[INFO] [stdout]     src/lib.rs - (line 68)
[INFO] [stdout]     src/lib.rs - (line 76)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout]     src/macros.rs - macros::heap_allocator (line 7)
[INFO] [stdout]     src/macros.rs - macros::psram_allocator (line 36)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.50s; merged doctests compilation took 0.22s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f45c035dac981b6acee9a542990eddcf79349ad65f0dc69bca0fb807bde9021e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f45c035dac981b6acee9a542990eddcf79349ad65f0dc69bca0fb807bde9021e", kill_on_drop: false }`
[INFO] [stdout] f45c035dac981b6acee9a542990eddcf79349ad65f0dc69bca0fb807bde9021e
