[INFO] fetching crate defmt 0.2.1... [INFO] checking defmt-0.2.1 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate defmt 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate defmt 0.2.1 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a11e3e2fd98971d0cc2ee3c33c10bfc846d022ba51a9ef9e30982ece5b17224 [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" "9a11e3e2fd98971d0cc2ee3c33c10bfc846d022ba51a9ef9e30982ece5b17224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a11e3e2fd98971d0cc2ee3c33c10bfc846d022ba51a9ef9e30982ece5b17224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a11e3e2fd98971d0cc2ee3c33c10bfc846d022ba51a9ef9e30982ece5b17224", kill_on_drop: false }` [INFO] [stdout] 9a11e3e2fd98971d0cc2ee3c33c10bfc846d022ba51a9ef9e30982ece5b17224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c3e17b608b16e9e2c397513f4978a1e241ecc22f2c42a967a03056aa01f3b0 [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" "86c3e17b608b16e9e2c397513f4978a1e241ecc22f2c42a967a03056aa01f3b0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling defmt-parser v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking rustc_version v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling defmt v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling defmt-macros v0.2.0 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_json v1.0.64 [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: aborting due to previous error [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 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] running `Command { std: "docker" "inspect" "86c3e17b608b16e9e2c397513f4978a1e241ecc22f2c42a967a03056aa01f3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c3e17b608b16e9e2c397513f4978a1e241ecc22f2c42a967a03056aa01f3b0", kill_on_drop: false }` [INFO] [stdout] 86c3e17b608b16e9e2c397513f4978a1e241ecc22f2c42a967a03056aa01f3b0