[INFO] fetching crate esp-storage 0.7.0... [INFO] testing esp-storage-0.7.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate esp-storage 0.7.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate esp-storage 0.7.0 [INFO] finished tweaking crates.io crate esp-storage 0.7.0 [INFO] tweaked toml for crates.io crate esp-storage 0.7.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate esp-storage 0.7.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate esp-storage 0.7.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3ee313d01851a025146f6f4bf16f371a95c54fc87591c9f6d1b261af248842b [INFO] running `Command { std: "docker" "start" "-a" "e3ee313d01851a025146f6f4bf16f371a95c54fc87591c9f6d1b261af248842b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3ee313d01851a025146f6f4bf16f371a95c54fc87591c9f6d1b261af248842b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ee313d01851a025146f6f4bf16f371a95c54fc87591c9f6d1b261af248842b", kill_on_drop: false }` [INFO] [stdout] e3ee313d01851a025146f6f4bf16f371a95c54fc87591c9f6d1b261af248842b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2326cb42f1d1f3001246f17ac22ccfb76cdea99470679d1f4f24f08fcaade77 [INFO] running `Command { std: "docker" "start" "-a" "f2326cb42f1d1f3001246f17ac22ccfb76cdea99470679d1f4f24f08fcaade77", kill_on_drop: false }` [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling esp-storage v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embedded-storage v0.3.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_rom_sys` [INFO] [stdout] --> src/hardware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use esp_rom_sys::rom::spiflash::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_rom_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_rom_sys`, use `cargo add esp_rom_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_rom_sys` [INFO] [stdout] --> src/hardware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use esp_rom_sys as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `esp_rom_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_section]` attribute cannot be used on inherent methods [INFO] [stdout] --> src/common.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg_attr(not(target_os = "macos"), unsafe(link_section = ".rwtext"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_section]` can be applied to statics and functions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_section]` attribute cannot be used on inherent methods [INFO] [stdout] --> src/common.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg_attr(not(target_os = "macos"), unsafe(link_section = ".rwtext"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_section]` can be applied to statics and functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_section]` attribute cannot be used on inherent methods [INFO] [stdout] --> src/common.rs:126:42 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg_attr(not(target_os = "macos"), unsafe(link_section = ".rwtext"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_section]` can be applied to statics and functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `esp_rom_spiflash_read` in this scope [INFO] [stdout] --> src/hardware.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | maybe_with_critical_section(|| unsafe { esp_rom_spiflash_read(src_addr, data, len) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `esp_rom_spiflash_unlock` in this scope [INFO] [stdout] --> src/hardware.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | maybe_with_critical_section(|| unsafe { esp_rom_spiflash_unlock() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `esp_rom_spiflash_erase_sector` in this scope [INFO] [stdout] --> src/hardware.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | maybe_with_critical_section(|| unsafe { esp_rom_spiflash_erase_sector(sector_number) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `esp_rom_spiflash_write` in this scope [INFO] [stdout] --> src/hardware.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | maybe_with_critical_section(|| unsafe { esp_rom_spiflash_write(dest_addr, data, len) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esp-storage` (lib) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2326cb42f1d1f3001246f17ac22ccfb76cdea99470679d1f4f24f08fcaade77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2326cb42f1d1f3001246f17ac22ccfb76cdea99470679d1f4f24f08fcaade77", kill_on_drop: false }` [INFO] [stdout] f2326cb42f1d1f3001246f17ac22ccfb76cdea99470679d1f4f24f08fcaade77