[INFO] fetching crate rustbif 0.1.2... [INFO] checking rustbif-0.1.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rustbif 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rustbif 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rustbif 0.1.2 [INFO] tweaked toml for crates.io crate rustbif 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustbif 0.1.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustbif 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94a76711ddc9f6dc5944c08aa207e0ad0773e1cd27e35dcc0c5b1955ca4c3531 [INFO] running `Command { std: "docker" "start" "-a" "94a76711ddc9f6dc5944c08aa207e0ad0773e1cd27e35dcc0c5b1955ca4c3531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94a76711ddc9f6dc5944c08aa207e0ad0773e1cd27e35dcc0c5b1955ca4c3531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a76711ddc9f6dc5944c08aa207e0ad0773e1cd27e35dcc0c5b1955ca4c3531", kill_on_drop: false }` [INFO] [stdout] 94a76711ddc9f6dc5944c08aa207e0ad0773e1cd27e35dcc0c5b1955ca4c3531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 006ac2496a28562758c91683fa03b750436172273e8afe1fedbcb4e2f6198181 [INFO] running `Command { std: "docker" "start" "-a" "006ac2496a28562758c91683fa03b750436172273e8afe1fedbcb4e2f6198181", kill_on_drop: false }` [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking zigzag v0.1.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling cerdito-derive v0.1.5 [INFO] [stderr] Compiling build_async v0.1.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking cerdito v0.1.3 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking rustbif v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated functions `new`, `from_value_f32`, `from_value_f64`, and `from_value_u128` are never used [INFO] [stdout] --> src/rustbif.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl VarIntLen { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn from_value_f32(value: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn from_value_f64(value: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn from_value_u128(value: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_value_f32`, `from_value_f64`, and `from_value_u128` are never used [INFO] [stdout] --> src/rustbif.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl VarIntLen { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn from_value_f32(value: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn from_value_f64(value: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn from_value_u128(value: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `varintlen_write_read` is never used [INFO] [stdout] --> src/rustbif.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 661 | fn varintlen_write_read(v: VarIntLen) -> VarIntLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, PartialEq, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, PartialEq, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Default, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:68:52 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Default, PartialEq, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Debug, PartialEq, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tokio.rs:132:52 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Debug, PartialEq, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbif` (example "tokio") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `M` is never used [INFO] [stdout] --> examples/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const M: usize = 100; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S1` is never constructed [INFO] [stdout] --> examples/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct S1< [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S2` is never constructed [INFO] [stdout] --> examples/main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct S2; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S3` is never constructed [INFO] [stdout] --> examples/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct S3(i32, String); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `E1` is never used [INFO] [stdout] --> examples/main.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | enum E1 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataType` is never used [INFO] [stdout] --> examples/main.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> examples/main.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct Field(Option, Box); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Variant` is never constructed [INFO] [stdout] --> examples/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct Variant(String, Option, Box); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Discriminant` is never used [INFO] [stdout] --> examples/main.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | enum Discriminant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContentID` is never used [INFO] [stdout] --> examples/main.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | enum ContentID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncryptionKey` is never used [INFO] [stdout] --> examples/main.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | enum EncryptionKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileName` is never constructed [INFO] [stdout] --> examples/main.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | struct FileName(String); // string w/o '/' [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DirectoryEntry` is never used [INFO] [stdout] --> examples/main.rs:153:6 [INFO] [stdout] | [INFO] [stdout] 153 | enum DirectoryEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> examples/main.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | struct PublicKey; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signature` is never constructed [INFO] [stdout] --> examples/main.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct Signature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> examples/main.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `E1U8I8` is never used [INFO] [stdout] --> examples/main.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | type E1U8I8 = E1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Debug, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Debug, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Debug, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `_async` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/main.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Debug, Default, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbif` (example "main") due to 10 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "006ac2496a28562758c91683fa03b750436172273e8afe1fedbcb4e2f6198181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006ac2496a28562758c91683fa03b750436172273e8afe1fedbcb4e2f6198181", kill_on_drop: false }` [INFO] [stdout] 006ac2496a28562758c91683fa03b750436172273e8afe1fedbcb4e2f6198181