[INFO] fetching crate oxide-macros 0.4.2... [INFO] checking oxide-macros-0.4.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate oxide-macros 0.4.2 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oxide-macros 0.4.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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.21.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d94019ef88b8b814af32912216830ec1b10d4099dcb2c38b6c9dfc2b580280e4 [INFO] running `Command { std: "docker" "start" "-a" "d94019ef88b8b814af32912216830ec1b10d4099dcb2c38b6c9dfc2b580280e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d94019ef88b8b814af32912216830ec1b10d4099dcb2c38b6c9dfc2b580280e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d94019ef88b8b814af32912216830ec1b10d4099dcb2c38b6c9dfc2b580280e4", kill_on_drop: false }` [INFO] [stdout] d94019ef88b8b814af32912216830ec1b10d4099dcb2c38b6c9dfc2b580280e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbaf85aaf259808426c90afd1c0e66def56a98af3267fce806cbeff937894f55 [INFO] running `Command { std: "docker" "start" "-a" "dbaf85aaf259808426c90afd1c0e66def56a98af3267fce806cbeff937894f55", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking quote v1.0.40 [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] warning: function `parse_usize_literal` is never used [INFO] [stdout] --> src/lib.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse_usize_literal(literal: syn::Lit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntrypointConfig` is never constructed [INFO] [stdout] --> src/entrypoint.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct EntrypointConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_main` is never used [INFO] [stdout] --> src/entrypoint.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn generate_main(args: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/entrypoint.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse_args(args: syn::AttributeArgs) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> tests/interrupt-derive.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[oxide_macros::interrupt(isr="bobbins")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [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] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 14 | unsafe(#[oxide_macros::interrupt(isr="bobbins")]) [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/interrupt-derive.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[oxide_macros::interrupt(isr="bobbins")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/interrupt-derive.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/interrupt-derive.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/interrupt-derive.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/interrupt-derive.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(asm)] [INFO] [stdout] | ^^^ [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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] 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 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | avr_oxide::OxideResult::Ok(idx) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | avr_oxide::OxideResult::Ok(()) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Persist)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] --> tests/persist-derive.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Persist,Debug,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `avr_oxide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `avr_oxide`, use `cargo add avr_oxide` to add it to your `Cargo.toml` [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] [stderr] error: could not compile `oxide-macros` (test "persist-derive") due to 24 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbaf85aaf259808426c90afd1c0e66def56a98af3267fce806cbeff937894f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbaf85aaf259808426c90afd1c0e66def56a98af3267fce806cbeff937894f55", kill_on_drop: false }` [INFO] [stdout] dbaf85aaf259808426c90afd1c0e66def56a98af3267fce806cbeff937894f55