[INFO] fetching crate defmt 0.3.0... [INFO] testing defmt-0.3.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate defmt 0.3.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate defmt 0.3.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate defmt 0.3.0 [INFO] finished tweaking crates.io crate defmt 0.3.0 [INFO] tweaked toml for crates.io crate defmt 0.3.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47d3824c81e8f79c357406e1e84b5941340b26604bb100d4d0a44750a82d2548 [INFO] running `Command { std: "docker" "start" "-a" "47d3824c81e8f79c357406e1e84b5941340b26604bb100d4d0a44750a82d2548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47d3824c81e8f79c357406e1e84b5941340b26604bb100d4d0a44750a82d2548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d3824c81e8f79c357406e1e84b5941340b26604bb100d4d0a44750a82d2548", kill_on_drop: false }` [INFO] [stdout] 47d3824c81e8f79c357406e1e84b5941340b26604bb100d4d0a44750a82d2548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d98fedd7ed32039818064e10385c1d3a6e658123619e84169be5958359573cf [INFO] running `Command { std: "docker" "start" "-a" "7d98fedd7ed32039818064e10385c1d3a6e658123619e84169be5958359573cf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling defmt-macros v0.3.1 [INFO] [stderr] Compiling defmt v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling defmt-parser v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.03s [INFO] running `Command { std: "docker" "inspect" "7d98fedd7ed32039818064e10385c1d3a6e658123619e84169be5958359573cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d98fedd7ed32039818064e10385c1d3a6e658123619e84169be5958359573cf", kill_on_drop: false }` [INFO] [stdout] 7d98fedd7ed32039818064e10385c1d3a6e658123619e84169be5958359573cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a69f68ddab70f4f00a0c282d0253b029faf3af9a1f8412887e0d62b7e2c6f1fe [INFO] running `Command { std: "docker" "start" "-a" "a69f68ddab70f4f00a0c282d0253b029faf3af9a1f8412887e0d62b7e2c6f1fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling defmt v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: to run unit tests enable the `unstable-test` feature, e.g. `cargo t --features unstable-test` [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / compile_error!( [INFO] [stdout] 65 | | "to run unit tests enable the `unstable-test` feature, e.g. `cargo t --features unstable-test`" [INFO] [stdout] 66 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt::export::fetch_string_index` [INFO] [stdout] --> tests/encode.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use defmt::{export::fetch_string_index, write, Debug2Format, Display2Format, Format, Formatter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `fetch_string_index` in `export` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `defmt` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 81 | / check!([ [INFO] [stdout] 82 | | index, // "The answer is {=u8}", [INFO] [stdout] 83 | | 42u8, // u8 value [INFO] [stdout] 84 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 88 | / check!([ [INFO] [stdout] 89 | | inc(index, 1), // "The answer is {=?}" [INFO] [stdout] 90 | | inc(index, 2), // "{=u8}" / impl Format for u8 [INFO] [stdout] 91 | | 42u8, // u8 value [INFO] [stdout] 92 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 105 | / check!([ [INFO] [stdout] 106 | | index, // bitfields {0=7..12}, {1=0..5}", [INFO] [stdout] 107 | | 0b1111_0000u8, [INFO] [stdout] 108 | | 0b1110_0101u8, // u16 [INFO] [stdout] 109 | | 0b1111_0000u8, // u8 [INFO] [stdout] 110 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 119 | / check!([ [INFO] [stdout] 120 | | index, // bitfields {0=0..7} {0=9..14}", [INFO] [stdout] 121 | | 0b1101_0010u8, [INFO] [stdout] 122 | | 0b0110_0011u8, // u16 [INFO] [stdout] 123 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 136 | / check!([ [INFO] [stdout] 137 | | index, // bitfields {0=9..14}", [INFO] [stdout] 138 | | 0b0110_0011u8, // the first octet should have been truncated away [INFO] [stdout] 139 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 148 | / check!([ [INFO] [stdout] 149 | | index, // "bitfields {0=6..8}" [INFO] [stdout] 150 | | 0b1010_0101u8 [INFO] [stdout] 151 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 163 | / check_format!( [INFO] [stdout] 164 | | &X { y: false, z: true }, [INFO] [stdout] 165 | | [ [INFO] [stdout] 166 | | index, // "X {{ x: {=bool}, y: {=bool} }}" [INFO] [stdout] ... | [INFO] [stdout] 169 | | ], [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 182 | / check_format!( [INFO] [stdout] 183 | | &X { y: 1, z: 2 }, [INFO] [stdout] 184 | | [ [INFO] [stdout] 185 | | index, // "X {{ x: {=u8}, y: {=u16} }}" [INFO] [stdout] ... | [INFO] [stdout] 189 | | ], [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 208 | / check_format!( [INFO] [stdout] 209 | | &X { y: 1, z: 2 }, [INFO] [stdout] 210 | | [ [INFO] [stdout] 211 | | index, // "{=__internal_FormatSequence}" [INFO] [stdout] ... | [INFO] [stdout] 216 | | ], [INFO] [stdout] 217 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 236 | / check_format!( [INFO] [stdout] 237 | | &X { y: 1, z: 2 }, [INFO] [stdout] 238 | | [ [INFO] [stdout] 239 | | index, // "{=__internal_FormatSequence}" [INFO] [stdout] ... | [INFO] [stdout] 245 | | ], [INFO] [stdout] 246 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 265 | / check_format!( [INFO] [stdout] 266 | | &[X { y: 1, z: 2 }, X { y: 3, z: 4 }][..], [INFO] [stdout] 267 | | [ [INFO] [stdout] 268 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 283 | | ], [INFO] [stdout] 284 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 301 | / check_format!( [INFO] [stdout] 302 | | &X { y: Y { z: val } }, [INFO] [stdout] 303 | | [ [INFO] [stdout] 304 | | index, // "X {{ y: {=?} }}" [INFO] [stdout] ... | [INFO] [stdout] 307 | | ], [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 317 | / check_format!( [INFO] [stdout] 318 | | &Struct(0x1f, 0xaaaa), [INFO] [stdout] 319 | | [ [INFO] [stdout] 320 | | index, // "Struct({=u8}, {=u16})" [INFO] [stdout] ... | [INFO] [stdout] 323 | | ], [INFO] [stdout] 324 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 338 | / check_format!( [INFO] [stdout] 339 | | &Enum::A, [INFO] [stdout] 340 | | [ [INFO] [stdout] 341 | | index, // [INFO] [stdout] 342 | | 0u8, // `Enum::A` [INFO] [stdout] 343 | | ], [INFO] [stdout] 344 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 346 | / check_format!( [INFO] [stdout] 347 | | &Enum::B, [INFO] [stdout] 348 | | [ [INFO] [stdout] 349 | | index, // [INFO] [stdout] 350 | | 1u8, // `Enum::B` [INFO] [stdout] 351 | | ], [INFO] [stdout] 352 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 371 | / check_format!( [INFO] [stdout] 372 | | &NoData::Variant, [INFO] [stdout] 373 | | [ [INFO] [stdout] 374 | | index, // [INFO] [stdout] 375 | | ], [INFO] [stdout] 376 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 384 | / check_format!( [INFO] [stdout] 385 | | &Data::Variant(0x1f, 0xaaaa), [INFO] [stdout] 386 | | [ [INFO] [stdout] 387 | | index, // [INFO] [stdout] ... | [INFO] [stdout] 390 | | ], [INFO] [stdout] 391 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 418 | / check_format!( [INFO] [stdout] 419 | | &Outer::Variant1 { [INFO] [stdout] 420 | | pre: 0xEE, [INFO] [stdout] 421 | | inner: Inner::A(CLike::B, 0x07), [INFO] [stdout] ... | [INFO] [stdout] 434 | | ], [INFO] [stdout] 435 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 438 | / check_format!( [INFO] [stdout] 439 | | &Outer::Variant2, [INFO] [stdout] 440 | | [ [INFO] [stdout] 441 | | index, // [INFO] [stdout] 442 | | 1u8, // `Outer::Variant2` [INFO] [stdout] 443 | | ], [INFO] [stdout] 444 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 447 | / check_format!( [INFO] [stdout] 448 | | &Outer::Variant3(Inner::A(CLike::B, 0x07)), [INFO] [stdout] 449 | | [ [INFO] [stdout] 450 | | index, // [INFO] [stdout] ... | [INFO] [stdout] 457 | | ], [INFO] [stdout] 458 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 465 | / check_format!( [INFO] [stdout] 466 | | val, [INFO] [stdout] 467 | | [ [INFO] [stdout] 468 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 473 | | ], [INFO] [stdout] 474 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 481 | / check_format!( [INFO] [stdout] 482 | | val, [INFO] [stdout] 483 | | [ [INFO] [stdout] 484 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 489 | | ], [INFO] [stdout] 490 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 497 | / check_format!( [INFO] [stdout] 498 | | val, [INFO] [stdout] 499 | | [ [INFO] [stdout] 500 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 506 | | ], [INFO] [stdout] 507 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 513 | / check_format!( [INFO] [stdout] 514 | | &42u8, [INFO] [stdout] 515 | | [ [INFO] [stdout] 516 | | index, // "{=u8}" [INFO] [stdout] 517 | | 42u8, [INFO] [stdout] 518 | | ], [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 520 | / check_format!( [INFO] [stdout] 521 | | &42u16, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | inc(index, 1), // "{=u16}" [INFO] [stdout] 524 | | 42u16, [INFO] [stdout] 525 | | ], [INFO] [stdout] 526 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 527 | / check_format!( [INFO] [stdout] 528 | | &513u16, [INFO] [stdout] 529 | | [ [INFO] [stdout] 530 | | inc(index, 2), // "{=u16}" [INFO] [stdout] 531 | | 513u16, [INFO] [stdout] 532 | | ], [INFO] [stdout] 533 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 535 | / check_format!( [INFO] [stdout] 536 | | &42u32, [INFO] [stdout] 537 | | [ [INFO] [stdout] 538 | | inc(index, 3), // "{=u32}" [INFO] [stdout] 539 | | 42u32, [INFO] [stdout] 540 | | ], [INFO] [stdout] 541 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 542 | / check_format!( [INFO] [stdout] 543 | | &513u32, [INFO] [stdout] 544 | | [ [INFO] [stdout] 545 | | inc(index, 4), // "{=u32}" [INFO] [stdout] 546 | | 513u32, [INFO] [stdout] 547 | | ], [INFO] [stdout] 548 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 550 | / check_format!( [INFO] [stdout] 551 | | &5.13f32, [INFO] [stdout] 552 | | [ [INFO] [stdout] 553 | | inc(index, 5), // "{=f32}" [INFO] [stdout] ... | [INFO] [stdout] 558 | | ], [INFO] [stdout] 559 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 561 | / check_format!( [INFO] [stdout] 562 | | &42i8, [INFO] [stdout] 563 | | [ [INFO] [stdout] 564 | | inc(index, 6), // "{=i8}" [INFO] [stdout] 565 | | 42u8, [INFO] [stdout] 566 | | ], [INFO] [stdout] 567 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 568 | / check_format!( [INFO] [stdout] 569 | | &-42i8, [INFO] [stdout] 570 | | [ [INFO] [stdout] 571 | | inc(index, 7), // "{=i8}" [INFO] [stdout] 572 | | -42i8 as u8, [INFO] [stdout] 573 | | ], [INFO] [stdout] 574 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 576 | / check_format!( [INFO] [stdout] 577 | | &None::, [INFO] [stdout] 578 | | [ [INFO] [stdout] 579 | | inc(index, 8), // "" [INFO] [stdout] 580 | | 0u8, // None discriminant [INFO] [stdout] 581 | | ], [INFO] [stdout] 582 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 584 | / check_format!( [INFO] [stdout] 585 | | &Some(42u8), [INFO] [stdout] 586 | | [ [INFO] [stdout] 587 | | inc(index, 9), // "" [INFO] [stdout] ... | [INFO] [stdout] 591 | | ], [INFO] [stdout] 592 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 594 | check_format!(&-1isize, [inc(index, 11), -1i32]); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 595 | check_format!(&-128isize, [inc(index, 12), -128i32]); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 597 | / check_format!( [INFO] [stdout] 598 | | &true, [INFO] [stdout] 599 | | [ [INFO] [stdout] 600 | | inc(index, 13), // "{=bool}" [INFO] [stdout] 601 | | 0b1u8, [INFO] [stdout] 602 | | ], [INFO] [stdout] 603 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 605 | / check_format!( [INFO] [stdout] 606 | | &513u64, [INFO] [stdout] 607 | | [ [INFO] [stdout] 608 | | inc(index, 14), // "{=u64}" [INFO] [stdout] 609 | | 513u64, [INFO] [stdout] 610 | | ], [INFO] [stdout] 611 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 613 | / check_format!( [INFO] [stdout] 614 | | &-2i64, [INFO] [stdout] 615 | | [ [INFO] [stdout] 616 | | inc(index, 15), // "{=i64}" [INFO] [stdout] 617 | | -2i64, [INFO] [stdout] 618 | | ], [INFO] [stdout] 619 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 621 | / check_format!( [INFO] [stdout] 622 | | &'a', [INFO] [stdout] 623 | | [ [INFO] [stdout] 624 | | inc(index, 16), // "{=char}" [INFO] [stdout] ... | [INFO] [stdout] 629 | | ], [INFO] [stdout] 630 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 637 | / check_format!( [INFO] [stdout] 638 | | &interned, [INFO] [stdout] 639 | | [ [INFO] [stdout] 640 | | inc(index, 1), // "{=istr}" [INFO] [stdout] 641 | | index, [INFO] [stdout] 642 | | ], [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 650 | / check_format!( [INFO] [stdout] 651 | | &array, [INFO] [stdout] 652 | | [ [INFO] [stdout] 653 | | index, // "{=[?;0]}" [INFO] [stdout] 654 | | inc(index, 1), // "{=u16}" [INFO] [stdout] 655 | | ] [INFO] [stdout] 656 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 660 | / check_format!( [INFO] [stdout] 661 | | &array, [INFO] [stdout] 662 | | [ [INFO] [stdout] 663 | | index, // "{=[?;3]}" [INFO] [stdout] ... | [INFO] [stdout] 668 | | ], [INFO] [stdout] 669 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 676 | / check_format!( [INFO] [stdout] 677 | | slice, [INFO] [stdout] 678 | | [ [INFO] [stdout] 679 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 685 | | ], [INFO] [stdout] 686 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 703 | / check_format!( [INFO] [stdout] 704 | | slice, [INFO] [stdout] 705 | | [ [INFO] [stdout] 706 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 715 | | ], [INFO] [stdout] 716 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 723 | / check_format!( [INFO] [stdout] 724 | | slice, [INFO] [stdout] 725 | | [ [INFO] [stdout] 726 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 740 | | ], [INFO] [stdout] 741 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 748 | / check_format!( [INFO] [stdout] 749 | | slice, [INFO] [stdout] 750 | | [ [INFO] [stdout] 751 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 765 | | ], [INFO] [stdout] 766 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 779 | / check_format!( [INFO] [stdout] 780 | | slice, [INFO] [stdout] 781 | | [ [INFO] [stdout] 782 | | index, // "{=[?]}" [INFO] [stdout] ... | [INFO] [stdout] 794 | | ], [INFO] [stdout] 795 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 812 | / check_format!( [INFO] [stdout] 813 | | &S { val: 0 }, [INFO] [stdout] 814 | | [ [INFO] [stdout] 815 | | index, // "S {{ val: {=?} }}" [INFO] [stdout] ... | [INFO] [stdout] 818 | | ], [INFO] [stdout] 819 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 822 | / check_format!( [INFO] [stdout] 823 | | &S2 { a: &1, b: &2 }, [INFO] [stdout] 824 | | [ [INFO] [stdout] 825 | | index, // "S2 { a: {=u8}, b: {=u8} }}" [INFO] [stdout] 826 | | 1u8, 2u8, [INFO] [stdout] 827 | | ], [INFO] [stdout] 828 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 840 | / check_format!( [INFO] [stdout] 841 | | &(A(true), B(true)), [INFO] [stdout] 842 | | [ [INFO] [stdout] 843 | | index, // "({=?}, {=?})" [INFO] [stdout] ... | [INFO] [stdout] 848 | | ], [INFO] [stdout] 849 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 886 | check_format!(&e, [index, 2u8]); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 890 | check_format!(&e, [index, 2u16]); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 894 | check_format!(&e, [index, 269u16]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 907 | / check_format!( [INFO] [stdout] 908 | | &s, [INFO] [stdout] 909 | | [ [INFO] [stdout] 910 | | index, // "S {{ s: {:str} }}" (NOTE: `s` field is not {:?}) [INFO] [stdout] ... | [INFO] [stdout] 915 | | ], [INFO] [stdout] 916 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 922 | check_format!(&Debug2Format(&123u8), [index, b'1', b'2', b'3', 0xffu8]); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_bytes` in module `defmt::export` [INFO] [stdout] --> tests/encode.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(defmt::export::fetch_bytes(), v); [INFO] [stdout] | ^^^^^^^^^^^ not found in `defmt::export` [INFO] [stdout] ... [INFO] [stdout] 924 | check_format!(&Display2Format(&123u8), [index, b'1', b'2', b'3', 0xffu8]); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/encode.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | write_format($format); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] ... [INFO] [stdout] 812 | / check_format!( [INFO] [stdout] 813 | | &S { val: 0 }, [INFO] [stdout] 814 | | [ [INFO] [stdout] 815 | | index, // "S {{ val: {=?} }}" [INFO] [stdout] ... | [INFO] [stdout] 818 | | ], [INFO] [stdout] 819 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Format` found in the `defmt` crate: [INFO] [stdout] - impl Format for i128; [INFO] [stdout] - impl Format for i16; [INFO] [stdout] - impl Format for i32; [INFO] [stdout] - impl Format for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required because of the requirements on the impl of `Format` for `derive_with_bounds::S<{integer}>` [INFO] [stdout] --> tests/encode.rs:800:14 [INFO] [stdout] | [INFO] [stdout] 800 | #[derive(Format)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 801 | struct S { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `write_format` [INFO] [stdout] --> tests/encode.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | fn write_format(val: &T) { [INFO] [stdout] | ^^^^^^ required by this bound in `write_format` [INFO] [stdout] = note: this error originates in the macro `check_format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a69f68ddab70f4f00a0c282d0253b029faf3af9a1f8412887e0d62b7e2c6f1fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a69f68ddab70f4f00a0c282d0253b029faf3af9a1f8412887e0d62b7e2c6f1fe", kill_on_drop: false }` [INFO] [stdout] a69f68ddab70f4f00a0c282d0253b029faf3af9a1f8412887e0d62b7e2c6f1fe