[INFO] cloning repository https://github.com/mickvangelderen/fins-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mickvangelderen/fins-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Ffins-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Ffins-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3ef1516ea70cdf3672c1d3bfbd644c4bdab3d7c [INFO] testing mickvangelderen/fins-rust against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Ffins-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mickvangelderen/fins-rust [INFO] finished tweaking git repo https://github.com/mickvangelderen/fins-rust [INFO] tweaked toml for git repo https://github.com/mickvangelderen/fins-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mickvangelderen/fins-rust on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mickvangelderen/fins-rust 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca7c561fd9b0722bbaf61e5893334fbc51918ab495459b5161fd83753b7aaf3f [INFO] running `Command { std: "docker" "start" "-a" "ca7c561fd9b0722bbaf61e5893334fbc51918ab495459b5161fd83753b7aaf3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca7c561fd9b0722bbaf61e5893334fbc51918ab495459b5161fd83753b7aaf3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7c561fd9b0722bbaf61e5893334fbc51918ab495459b5161fd83753b7aaf3f", kill_on_drop: false }` [INFO] [stdout] ca7c561fd9b0722bbaf61e5893334fbc51918ab495459b5161fd83753b7aaf3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3ab87d06da9d5b84f5d4286ae7e58e3a8cf0f21454ada670222834aad4dbbba [INFO] running `Command { std: "docker" "start" "-a" "c3ab87d06da9d5b84f5d4286ae7e58e3a8cf0f21454ada670222834aad4dbbba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling fins_util v0.1.0 (/opt/rustwide/workdir/fins_util) [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stdout] warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing [INFO] [stdout] --> fins_util/src/raw.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | std::mem::forget(bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 35 - std::mem::forget(bytes); [INFO] [stdout] 35 + let _ = bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.12 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling tracing v0.1.23 [INFO] [stderr] Compiling fins v0.1.0 (/opt/rustwide/workdir/fins) [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling fins_tcp v0.1.0 (/opt/rustwide/workdir/fins_tcp) [INFO] [stdout] warning: struct `RawClientAddressFrame` is never constructed [INFO] [stdout] --> fins_tcp/src/client_address_frame.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct RawClientAddressFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fins_client v0.1.0 (/opt/rustwide/workdir/fins_client) [INFO] [stdout] warning: unused import: `fmt::write` [INFO] [stdout] --> fins_client/src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fmt::write, io::ErrorKind, net::SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> fins_client/src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | bytes, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `bytes: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.90s [INFO] running `Command { std: "docker" "inspect" "c3ab87d06da9d5b84f5d4286ae7e58e3a8cf0f21454ada670222834aad4dbbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ab87d06da9d5b84f5d4286ae7e58e3a8cf0f21454ada670222834aad4dbbba", kill_on_drop: false }` [INFO] [stdout] c3ab87d06da9d5b84f5d4286ae7e58e3a8cf0f21454ada670222834aad4dbbba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 568139df9fae32ab02d43af32f8945773de8ced3d0957321643965120871fa38 [INFO] running `Command { std: "docker" "start" "-a" "568139df9fae32ab02d43af32f8945773de8ced3d0957321643965120871fa38", kill_on_drop: false }` [INFO] [stdout] warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing [INFO] [stdout] --> fins_util/src/raw.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | std::mem::forget(bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 35 - std::mem::forget(bytes); [INFO] [stdout] 35 + let _ = bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fins_util v0.1.0 (/opt/rustwide/workdir/fins_util) [INFO] [stderr] Compiling fins v0.1.0 (/opt/rustwide/workdir/fins) [INFO] [stdout] warning: struct `RawClientAddressFrame` is never constructed [INFO] [stdout] --> fins_tcp/src/client_address_frame.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct RawClientAddressFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fins_tcp v0.1.0 (/opt/rustwide/workdir/fins_tcp) [INFO] [stderr] Compiling fins_client v0.1.0 (/opt/rustwide/workdir/fins_client) [INFO] [stdout] warning: unused import: `fmt::write` [INFO] [stdout] --> fins_client/src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fmt::write, io::ErrorKind, net::SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> fins_client/src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | bytes, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `bytes: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> fins_util/src/num.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!(1, offset_of!(RawThing, b)); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> fins_util/src/num.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | let &$Struct { $field: ref f, .. } = &*u.as_ptr(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | assert_eq!(3, offset_of!(RawThing, c)); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fins_util` (lib test) due to 2 previous errors [INFO] [stdout] warning: struct `RawClientAddressFrame` is never constructed [INFO] [stdout] --> fins_tcp/src/client_address_frame.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct RawClientAddressFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "568139df9fae32ab02d43af32f8945773de8ced3d0957321643965120871fa38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568139df9fae32ab02d43af32f8945773de8ced3d0957321643965120871fa38", kill_on_drop: false }` [INFO] [stdout] 568139df9fae32ab02d43af32f8945773de8ced3d0957321643965120871fa38