[INFO] fetching crate fg-uds 0.3.0... [INFO] checking fg-uds-0.3.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate fg-uds 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate fg-uds 0.3.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fg-uds 0.3.0 [INFO] finished tweaking crates.io crate fg-uds 0.3.0 [INFO] tweaked toml for crates.io crate fg-uds 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.7.1) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding gio-sys v0.6.0 (latest: v0.20.1) [INFO] [stderr] Adding glib-sys v0.6.0 (latest: v0.20.2) [INFO] [stderr] Adding gobject-sys v0.6.0 (latest: v0.20.1) [INFO] [stderr] Adding nix v0.9.0 (latest: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.9.0 [INFO] [stderr] Downloaded futures-glib v0.4.0 [INFO] [stderr] Downloaded glib-sys v0.6.0 [INFO] [stderr] Downloaded gio-sys v0.6.0 [INFO] [stderr] Downloaded gobject-sys v0.6.0 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a28d747402091e0f29849e3013f2aba1362fa76f7292a00b8d6642981ecf939e [INFO] running `Command { std: "docker" "start" "-a" "a28d747402091e0f29849e3013f2aba1362fa76f7292a00b8d6642981ecf939e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a28d747402091e0f29849e3013f2aba1362fa76f7292a00b8d6642981ecf939e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28d747402091e0f29849e3013f2aba1362fa76f7292a00b8d6642981ecf939e", kill_on_drop: false }` [INFO] [stdout] a28d747402091e0f29849e3013f2aba1362fa76f7292a00b8d6642981ecf939e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7912e5aa8f5ea50d4e269a2e37de4392742a5c33a3737615d9ba5dda94264ad0 [INFO] running `Command { std: "docker" "start" "-a" "7912e5aa8f5ea50d4e269a2e37de4392742a5c33a3737615d9ba5dda94264ad0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling glib-sys v0.6.0 [INFO] [stderr] Compiling gobject-sys v0.6.0 [INFO] [stderr] Compiling gio-sys v0.6.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking futures-glib v0.4.0 [INFO] [stderr] Checking fg-uds v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(cvt(libc::ioctl(fd.fd, libc::FIOCLEX))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | let fd = Socket { fd: try!(cvt(libc::socket(libc::AF_UNIX, ty, 0))) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(cvt(libc::ioctl(fd.fd, libc::FIOCLEX))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | let fd = Socket { fd: try!(cvt(libc::socket(libc::AF_UNIX, ty, 0))) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fd` and `into_fd` are never used [INFO] [stdout] --> src/socket.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Socket { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn fd(&self) -> c_int { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn into_fd(self) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fd` and `into_fd` are never used [INFO] [stdout] --> src/socket.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Socket { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn fd(&self) -> c_int { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn into_fd(self) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_un` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_un` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | channel.set_encoding(None); // TODO: check error. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = channel.set_encoding(None); // TODO: check error. [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | channel.set_encoding(None); // TODO: check error. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = channel.set_encoding(None); // TODO: check error. [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> examples/named-splitted.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_io::codec::{Decoder, Encoder, FramedRead, FramedWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedWrite`: Moved to tokio-codec [INFO] [stdout] --> examples/named-splitted.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_io::codec::{Decoder, Encoder, FramedRead, FramedWrite}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedWrite`: Moved to tokio-codec [INFO] [stdout] --> examples/named-splitted.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | let mut framed_writer = FramedWrite::new(writer, LineCodec); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> examples/named-splitted.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | let framed_reader = FramedRead::new(reader, LineCodec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedWrite`: Moved to tokio-codec [INFO] [stdout] --> examples/named-splitted.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 99 | let framed_writer = FramedWrite::new(writer, LineCodec); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> examples/named-splitted.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | let framed_reader = FramedRead::new(reader, LineCodec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/named.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | let frame = stream.framed(LineCodec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> examples/abstract.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_io::codec::{Decoder, Encoder, FramedRead, FramedWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/named.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(stream2.framed(LineCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedWrite`: Moved to tokio-codec [INFO] [stdout] --> examples/abstract.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_io::codec::{Decoder, Encoder, FramedRead, FramedWrite}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedWrite`: Moved to tokio-codec [INFO] [stdout] --> examples/abstract.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | let mut framed_writer = FramedWrite::new(writer, LineCodec); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> examples/abstract.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let framed_reader = FramedRead::new(reader, LineCodec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedWrite`: Moved to tokio-codec [INFO] [stdout] --> examples/abstract.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | let framed_writer = FramedWrite::new(writer, LineCodec); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> examples/abstract.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | let framed_reader = FramedRead::new(reader, LineCodec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> examples/named.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let inner_path = path.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/named.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | sender.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = sender.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "7912e5aa8f5ea50d4e269a2e37de4392742a5c33a3737615d9ba5dda94264ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7912e5aa8f5ea50d4e269a2e37de4392742a5c33a3737615d9ba5dda94264ad0", kill_on_drop: false }` [INFO] [stdout] 7912e5aa8f5ea50d4e269a2e37de4392742a5c33a3737615d9ba5dda94264ad0