[INFO] fetching crate defmt 0.2.3... [INFO] testing defmt-0.2.3 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate defmt 0.2.3 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate defmt 0.2.3 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config.toml [INFO] started tweaking crates.io crate defmt 0.2.3 [INFO] finished tweaking crates.io crate defmt 0.2.3 [INFO] tweaked toml for crates.io crate defmt 0.2.3 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d1275308aec65272fc9453bb5bf26b16d3cf3884a76cb75cd25ef3ed99f16df [INFO] running `Command { std: "docker" "start" "-a" "1d1275308aec65272fc9453bb5bf26b16d3cf3884a76cb75cd25ef3ed99f16df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d1275308aec65272fc9453bb5bf26b16d3cf3884a76cb75cd25ef3ed99f16df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1275308aec65272fc9453bb5bf26b16d3cf3884a76cb75cd25ef3ed99f16df", kill_on_drop: false }` [INFO] [stdout] 1d1275308aec65272fc9453bb5bf26b16d3cf3884a76cb75cd25ef3ed99f16df [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f530b1bdda440f5f393bad2a7c1a4a103bff4a6d6c202236184d11d58c84242 [INFO] running `Command { std: "docker" "start" "-a" "3f530b1bdda440f5f393bad2a7c1a4a103bff4a6d6c202236184d11d58c84242", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling defmt-parser v0.2.2 [INFO] [stderr] Compiling defmt v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling defmt-macros v0.2.3 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.54s [INFO] running `Command { std: "docker" "inspect" "3f530b1bdda440f5f393bad2a7c1a4a103bff4a6d6c202236184d11d58c84242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f530b1bdda440f5f393bad2a7c1a4a103bff4a6d6c202236184d11d58c84242", kill_on_drop: false }` [INFO] [stdout] 3f530b1bdda440f5f393bad2a7c1a4a103bff4a6d6c202236184d11d58c84242 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fe7158587f9d7d60fe1cedffa4eaf27a16d2d07e39717d02c69e112fbb84a86 [INFO] running `Command { std: "docker" "start" "-a" "2fe7158587f9d7d60fe1cedffa4eaf27a16d2d07e39717d02c69e112fbb84a86", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.45 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling defmt v0.2.3 (/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:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / compile_error!( [INFO] [stdout] 39 | | "to run unit tests enable the `unstable-test` feature, e.g. `cargo t --features unstable-test`" [INFO] [stdout] 40 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt::export::fetch_string_index` [INFO] [stdout] --> tests/encode.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | export::fetch_string_index, write, Debug2Format, Display2Format, Format, Formatter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `fetch_string_index` in `export` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut f = InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(f.bytes(), expected_encoding); [INFO] [stdout] | ^^^^^ method not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | let f2 = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | f2.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [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[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:223:37 [INFO] [stdout] | [INFO] [stdout] 223 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:283:37 [INFO] [stdout] | [INFO] [stdout] 283 | let f = &mut InternalFormatter::new(); [INFO] [stdout] | ^^^ function or associated item not found in `InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for mutable reference `&mut InternalFormatter` in the current scope [INFO] [stdout] --> tests/encode.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | f.bytes(), [INFO] [stdout] | ^^^^^ method not found in `&mut InternalFormatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2fe7158587f9d7d60fe1cedffa4eaf27a16d2d07e39717d02c69e112fbb84a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe7158587f9d7d60fe1cedffa4eaf27a16d2d07e39717d02c69e112fbb84a86", kill_on_drop: false }` [INFO] [stdout] 2fe7158587f9d7d60fe1cedffa4eaf27a16d2d07e39717d02c69e112fbb84a86