[INFO] fetching crate defmt 0.2.3... [INFO] checking defmt-0.2.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate defmt 0.2.3 into /workspace/builds/worker-91/source [INFO] validating manifest of crates.io crate defmt 0.2.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-91/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-91/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e938c585ad3c51a0bf2a329b249d0977aaa5b468aea19eedc198406501b578c9 [INFO] running `Command { std: "docker" "start" "-a" "e938c585ad3c51a0bf2a329b249d0977aaa5b468aea19eedc198406501b578c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e938c585ad3c51a0bf2a329b249d0977aaa5b468aea19eedc198406501b578c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e938c585ad3c51a0bf2a329b249d0977aaa5b468aea19eedc198406501b578c9", kill_on_drop: false }` [INFO] [stdout] e938c585ad3c51a0bf2a329b249d0977aaa5b468aea19eedc198406501b578c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 911d86adf356af3998bc1fff4afbf01c907a1e0def146dd20d73543311d34e9b [INFO] running `Command { std: "docker" "start" "-a" "911d86adf356af3998bc1fff4afbf01c907a1e0def146dd20d73543311d34e9b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling defmt-parser v0.2.2 [INFO] [stderr] Compiling trybuild v1.0.45 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking semver v1.0.4 [INFO] [stderr] Compiling defmt v0.2.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling defmt-macros v0.2.3 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Migrating tests/basic_usage.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/encode.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/ui.rs from 2018 edition to 2021 [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: 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[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[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] [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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "911d86adf356af3998bc1fff4afbf01c907a1e0def146dd20d73543311d34e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911d86adf356af3998bc1fff4afbf01c907a1e0def146dd20d73543311d34e9b", kill_on_drop: false }` [INFO] [stdout] 911d86adf356af3998bc1fff4afbf01c907a1e0def146dd20d73543311d34e9b