[INFO] fetching crate oxide-macros 0.4.2... [INFO] checking oxide-macros-0.4.2 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate oxide-macros 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate oxide-macros 0.4.2 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate oxide-macros 0.4.2 [INFO] finished tweaking crates.io crate oxide-macros 0.4.2 [INFO] tweaked toml for crates.io crate oxide-macros 0.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding darling v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.89) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a212b22ce5a7ad10cb41472442fec5229f61e87c2a5046b749cffcd40a9051c [INFO] running `Command { std: "docker" "start" "-a" "4a212b22ce5a7ad10cb41472442fec5229f61e87c2a5046b749cffcd40a9051c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a212b22ce5a7ad10cb41472442fec5229f61e87c2a5046b749cffcd40a9051c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a212b22ce5a7ad10cb41472442fec5229f61e87c2a5046b749cffcd40a9051c", kill_on_drop: false }` [INFO] [stdout] 4a212b22ce5a7ad10cb41472442fec5229f61e87c2a5046b749cffcd40a9051c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d23d124d9fe11cf65321a55ecb9c2fdbe6015611a4e338679247ad0cfc0134a5 [INFO] running `Command { std: "docker" "start" "-a" "d23d124d9fe11cf65321a55ecb9c2fdbe6015611a4e338679247ad0cfc0134a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking darling v0.13.4 [INFO] [stderr] Checking oxide-macros v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use avr_oxide::util::persist::Persist; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/interrupt-derive.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[oxide_macros::interrupt(isr="bobbins")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `oxide_macros::interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> tests/interrupt-derive.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[oxide_macros::interrupt(isr="bobbins")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider using the `naked_asm!` macro instead [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `oxide_macros::interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0787. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxide-macros` (test "interrupt-derive") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | avr_oxide::OxideResult::Ok(idx) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | avr_oxide::OxideResult::Ok(buf.len()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | avr_oxide::OxideResult::Ok(()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | if let avr_oxide::OxideResult::Ok(loaded_simple) = SimpleEnumeration::load_from(&mut pipe) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | if let avr_oxide::OxideResult::Ok(loaded_complex) = ComplexEnumeration::load_from(&mut pipe) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | if let avr_oxide::OxideResult::Ok(loaded_complex) = ComplexEnumeration::load_from(&mut pipe) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | impl avr_oxide::io::Read for LoopbackReadWrite { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - impl avr_oxide::io::Read for LoopbackReadWrite { [INFO] [stdout] 61 + impl io::Read for LoopbackReadWrite { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | fn read(&mut self, buf: &mut [u8]) -> avr_oxide::io::Result { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - fn read(&mut self, buf: &mut [u8]) -> avr_oxide::io::Result { [INFO] [stdout] 62 + fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl avr_oxide::io::Write for LoopbackReadWrite { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - impl avr_oxide::io::Write for LoopbackReadWrite { [INFO] [stdout] 75 + impl io::Write for LoopbackReadWrite { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | fn write_buffered(&mut self, buf: &[u8]) -> avr_oxide::io::Result { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - fn write_buffered(&mut self, buf: &[u8]) -> avr_oxide::io::Result { [INFO] [stdout] 76 + fn write_buffered(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | fn flush(&mut self) -> avr_oxide::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `avr_oxide` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use std::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - fn flush(&mut self) -> avr_oxide::io::Result<()> { [INFO] [stdout] 81 + fn flush(&mut self) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxide-macros` (test "persist-derive") due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "d23d124d9fe11cf65321a55ecb9c2fdbe6015611a4e338679247ad0cfc0134a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23d124d9fe11cf65321a55ecb9c2fdbe6015611a4e338679247ad0cfc0134a5", kill_on_drop: false }` [INFO] [stdout] d23d124d9fe11cf65321a55ecb9c2fdbe6015611a4e338679247ad0cfc0134a5