[INFO] fetching crate defmt 0.2.1... [INFO] checking defmt-0.2.1 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate defmt 0.2.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate defmt 0.2.1 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate defmt 0.2.1 [INFO] finished tweaking crates.io crate defmt 0.2.1 [INFO] tweaked toml for crates.io crate defmt 0.2.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 17fb1748d0595b9f9df735594ede29b7354813dff15f9022562f723f5e46c647 [INFO] running `Command { std: "docker" "start" "-a" "17fb1748d0595b9f9df735594ede29b7354813dff15f9022562f723f5e46c647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17fb1748d0595b9f9df735594ede29b7354813dff15f9022562f723f5e46c647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17fb1748d0595b9f9df735594ede29b7354813dff15f9022562f723f5e46c647", kill_on_drop: false }` [INFO] [stdout] 17fb1748d0595b9f9df735594ede29b7354813dff15f9022562f723f5e46c647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37fa21241541834f1ef99efcc9c5a71a8101dd962988608ff5ef6112df343e64 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37fa21241541834f1ef99efcc9c5a71a8101dd962988608ff5ef6112df343e64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling defmt-parser v0.2.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking rustc_version v0.3.3 [INFO] [stderr] Compiling defmt v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling defmt-macros v0.2.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trybuild v1.0.42 [INFO] [stdout] error: to run unit tests enable the `unstable-test` feature, e.g. `cargo t --features unstable-test` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / compile_error!( [INFO] [stdout] 35 | | "to run unit tests enable the `unstable-test` feature, e.g. `cargo t --features unstable-test`" [INFO] [stdout] 36 | | ); [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: aborting due to previous error [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] [stderr] error: could not compile `defmt` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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: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] running `Command { std: "docker" "inspect" "37fa21241541834f1ef99efcc9c5a71a8101dd962988608ff5ef6112df343e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fa21241541834f1ef99efcc9c5a71a8101dd962988608ff5ef6112df343e64", kill_on_drop: false }` [INFO] [stdout] 37fa21241541834f1ef99efcc9c5a71a8101dd962988608ff5ef6112df343e64