[INFO] fetching crate defmt 0.2.0... [INFO] checking defmt-0.2.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate defmt 0.2.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate defmt 0.2.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate defmt 0.2.0 [INFO] finished tweaking crates.io crate defmt 0.2.0 [INFO] tweaked toml for crates.io crate defmt 0.2.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 51c4bf68d25ce3ffb4758e66ef8989b5495ac3abeaa27ce1edcf80ba24d5f2ef [INFO] running `Command { std: "docker" "start" "-a" "51c4bf68d25ce3ffb4758e66ef8989b5495ac3abeaa27ce1edcf80ba24d5f2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51c4bf68d25ce3ffb4758e66ef8989b5495ac3abeaa27ce1edcf80ba24d5f2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c4bf68d25ce3ffb4758e66ef8989b5495ac3abeaa27ce1edcf80ba24d5f2ef", kill_on_drop: false }` [INFO] [stdout] 51c4bf68d25ce3ffb4758e66ef8989b5495ac3abeaa27ce1edcf80ba24d5f2ef [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0ea330f8ad5dadf2b029c7e204378802fd62b6b5c18bac9d74b5254c8743657 [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" "e0ea330f8ad5dadf2b029c7e204378802fd62b6b5c18bac9d74b5254c8743657", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling trybuild v1.0.41 [INFO] [stderr] Compiling defmt-parser v0.2.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling 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.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling defmt-macros v0.2.0 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error: to run unit tests enable the `unstable-test` feature, e.g. `cargo t --features unstable-test` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / compile_error!( [INFO] [stdout] 33 | | "to run unit tests enable the `unstable-test` feature, e.g. `cargo t --features unstable-test`" [INFO] [stdout] 34 | | ); [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: aborting due to previous error [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] [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 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] running `Command { std: "docker" "inspect" "e0ea330f8ad5dadf2b029c7e204378802fd62b6b5c18bac9d74b5254c8743657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ea330f8ad5dadf2b029c7e204378802fd62b6b5c18bac9d74b5254c8743657", kill_on_drop: false }` [INFO] [stdout] e0ea330f8ad5dadf2b029c7e204378802fd62b6b5c18bac9d74b5254c8743657