[INFO] fetching crate sma-proto 1.1.1... [INFO] testing sma-proto-1.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sma-proto 1.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate sma-proto 1.1.1 [INFO] finished tweaking crates.io crate sma-proto 1.1.1 [INFO] tweaked toml for crates.io crate sma-proto 1.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sma-proto 1.1.1 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 sma-proto 1.1.1 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 17a0c65efb943553f2aef245e564c919497c684320f17408887c7d663722e4c8 [INFO] running `Command { std: "docker" "start" "-a" "17a0c65efb943553f2aef245e564c919497c684320f17408887c7d663722e4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17a0c65efb943553f2aef245e564c919497c684320f17408887c7d663722e4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a0c65efb943553f2aef245e564c919497c684320f17408887c7d663722e4c8", kill_on_drop: false }` [INFO] [stdout] 17a0c65efb943553f2aef245e564c919497c684320f17408887c7d663722e4c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 84913d12e05dce34cc05c1812813f6872c96e87a4977d9ee69c9abb7c9b4d6a2 [INFO] running `Command { std: "docker" "start" "-a" "84913d12e05dce34cc05c1812813f6872c96e87a4977d9ee69c9abb7c9b4d6a2", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling byteorder-cursor v1.0.1 [INFO] [stderr] Compiling sma-proto v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "84913d12e05dce34cc05c1812813f6872c96e87a4977d9ee69c9abb7c9b4d6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84913d12e05dce34cc05c1812813f6872c96e87a4977d9ee69c9abb7c9b4d6a2", kill_on_drop: false }` [INFO] [stdout] 84913d12e05dce34cc05c1812813f6872c96e87a4977d9ee69c9abb7c9b4d6a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 197ac5e1bb2b467d4a1933006f30179e94027d200cd40e3998d2c7ae5564600c [INFO] running `Command { std: "docker" "start" "-a" "197ac5e1bb2b467d4a1933006f30179e94027d200cd40e3998d2c7ae5564600c", kill_on_drop: false }` [INFO] [stderr] Compiling sma-proto v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::energymeter::SmaEmMessageHeapless`, `crate::inverter::SmaInvGetDayDataHeapless` [INFO] [stdout] --> src/any.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | energymeter::{ObisValue, SmaEmMessageHeapless}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `SmaEmMessageHeapless` in `energymeter` [INFO] [stdout] 135 | inverter::{SmaInvCounter, SmaInvGetDayDataHeapless}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `SmaInvGetDayDataHeapless` in `inverter` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/energymeter/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "heapless")] [INFO] [stdout] | -------------------- the item is gated behind the `heapless` feature [INFO] [stdout] 31 | pub use message::SmaEmMessageHeapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/inverter/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "heapless")] [INFO] [stdout] | -------------------- the item is gated behind the `heapless` feature [INFO] [stdout] 39 | pub use get_day_data::SmaInvGetDayDataHeapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 134 - energymeter::{ObisValue, SmaEmMessageHeapless}, [INFO] [stdout] 134 + energymeter::{ObisValue, SmaEmMessageBase}, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 135 - inverter::{SmaInvCounter, SmaInvGetDayDataHeapless}, [INFO] [stdout] 135 + inverter::{SmaInvCounter, SmaInvGetDayDataBase}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `heapless` [INFO] [stdout] --> src/any.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use heapless::Vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `heapless` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `heapless`, use `cargo add heapless` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `heapless` [INFO] [stdout] --> src/energymeter/message.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use heapless::Vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `heapless` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `heapless`, use `cargo add heapless` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `heapless` [INFO] [stdout] --> src/inverter/get_day_data.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | use heapless::Vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `heapless` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `heapless`, use `cargo add heapless` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SmaEmMessageHeapless` in this scope [INFO] [stdout] --> src/energymeter/message.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SmaEmMessageBase { [INFO] [stdout] | ------------------------------ similarly named struct `SmaEmMessageBase` defined here [INFO] [stdout] ... [INFO] [stdout] 152 | let message = SmaEmMessageHeapless { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SmaEmMessageBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SmaEmMessageHeapless` in this scope [INFO] [stdout] --> src/energymeter/message.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SmaEmMessageBase { [INFO] [stdout] | ------------------------------ similarly named struct `SmaEmMessageBase` defined here [INFO] [stdout] ... [INFO] [stdout] 213 | let expected = SmaEmMessageHeapless { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SmaEmMessageBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SmaInvGetDayDataHeapless` in this scope [INFO] [stdout] --> src/inverter/get_day_data.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SmaInvGetDayDataBase { [INFO] [stdout] | ---------------------------------- similarly named struct `SmaInvGetDayDataBase` defined here [INFO] [stdout] ... [INFO] [stdout] 194 | let message = SmaInvGetDayDataHeapless { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SmaInvGetDayDataHeapless` in this scope [INFO] [stdout] --> src/inverter/get_day_data.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SmaInvGetDayDataBase { [INFO] [stdout] | ---------------------------------- similarly named struct `SmaInvGetDayDataBase` defined here [INFO] [stdout] ... [INFO] [stdout] 250 | let expected = SmaInvGetDayDataHeapless { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SmaInvGetDayDataHeapless` in this scope [INFO] [stdout] --> src/inverter/get_day_data.rs:303:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SmaInvGetDayDataBase { [INFO] [stdout] | ---------------------------------- similarly named struct `SmaInvGetDayDataBase` defined here [INFO] [stdout] ... [INFO] [stdout] 303 | let expected = SmaInvGetDayDataHeapless { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnySmaMessageHeapless` [INFO] [stdout] --> src/any.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let expected = AnySmaMessageHeapless::EmMessage(SmaEmMessageHeapless { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AnySmaMessageHeapless` [INFO] [stdout] | help: an enum with a similar name exists: `AnySmaMessageBase` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "heapless")] [INFO] [stdout] | -------------------- the item is gated behind the `heapless` feature [INFO] [stdout] 36 | pub use any::AnySmaMessageHeapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnySmaMessageHeapless` [INFO] [stdout] --> src/any.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | match AnySmaMessageHeapless::deserialize(&mut cursor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AnySmaMessageHeapless` [INFO] [stdout] | help: an enum with a similar name exists: `AnySmaMessageBase` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "heapless")] [INFO] [stdout] | -------------------- the item is gated behind the `heapless` feature [INFO] [stdout] 36 | pub use any::AnySmaMessageHeapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmaEmMessageHeapless` [INFO] [stdout] --> src/energymeter/message.rs:235:15 [INFO] [stdout] | [INFO] [stdout] 235 | match SmaEmMessageHeapless::deserialize(&mut cursor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `SmaEmMessageHeapless` [INFO] [stdout] | help: a struct with a similar name exists: `SmaEmMessageBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] --> src/inverter/get_day_data.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | let mut buffer = [0u8; SmaInvGetDayDataHeapless::LENGTH_MIN]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] | help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] --> src/inverter/get_day_data.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | assert_eq!(SmaInvGetDayDataHeapless::LENGTH_MIN, cursor.position()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] | help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] --> src/inverter/get_day_data.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | match SmaInvGetDayDataHeapless::deserialize(&mut cursor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] | help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] --> src/inverter/get_day_data.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | SmaInvGetDayDataHeapless::LENGTH_MIN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] | help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] --> src/inverter/get_day_data.rs:340:15 [INFO] [stdout] | [INFO] [stdout] 340 | match SmaInvGetDayDataHeapless::deserialize(&mut cursor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] | help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] --> src/inverter/get_day_data.rs:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | SmaInvGetDayDataHeapless::LENGTH_MIN + 48, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `SmaInvGetDayDataHeapless` [INFO] [stdout] | help: a struct with a similar name exists: `SmaInvGetDayDataBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sma-proto` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "197ac5e1bb2b467d4a1933006f30179e94027d200cd40e3998d2c7ae5564600c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197ac5e1bb2b467d4a1933006f30179e94027d200cd40e3998d2c7ae5564600c", kill_on_drop: false }` [INFO] [stdout] 197ac5e1bb2b467d4a1933006f30179e94027d200cd40e3998d2c7ae5564600c