[INFO] fetching crate interprocess-docfix 1.2.2... [INFO] checking interprocess-docfix-1.2.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate interprocess-docfix 1.2.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate interprocess-docfix 1.2.2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate interprocess-docfix 1.2.2 [INFO] finished tweaking crates.io crate interprocess-docfix 1.2.2 [INFO] tweaked toml for crates.io crate interprocess-docfix 1.2.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate interprocess-docfix 1.2.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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.17 [INFO] [stderr] Downloaded syn v1.0.89 [INFO] [stderr] Downloaded tokio v1.8.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b29aae59c83aab4a80193569ac62477d822076da656058f940650495e7a9d45 [INFO] running `Command { std: "docker" "start" "-a" "2b29aae59c83aab4a80193569ac62477d822076da656058f940650495e7a9d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b29aae59c83aab4a80193569ac62477d822076da656058f940650495e7a9d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b29aae59c83aab4a80193569ac62477d822076da656058f940650495e7a9d45", kill_on_drop: false }` [INFO] [stdout] 2b29aae59c83aab4a80193569ac62477d822076da656058f940650495e7a9d45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7851bd70338ebcd73bf31a770f41e3f23ee616e8f3dda003588044f32e8b106c [INFO] running `Command { std: "docker" "start" "-a" "7851bd70338ebcd73bf31a770f41e3f23ee616e8f3dda003588044f32e8b106c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling tokio v1.8.5 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking async-task v4.2.0 [INFO] [stderr] Checking spinning v0.1.0 [INFO] [stderr] Checking intmap v0.7.1 [INFO] [stderr] Checking to_method v1.1.0 [INFO] [stderr] Compiling interprocess-docfix v1.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking blocking v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/os/unix/udsocket/path.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/os/unix/udsocket/path_drop_guard.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ffi::OsStr, fs::remove_file, ops::Drop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> examples/local_socket/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use interprocess::local_socket::{LocalSocketStream, NameTypeSupport}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> examples/lockstep_teletype/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use interprocess::local_socket::LocalSocketStream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> examples/local_socket/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use interprocess::local_socket::{LocalSocketListener, LocalSocketStream, NameTypeSupport}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> examples/lockstep_teletype/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use interprocess::local_socket::{LocalSocketListener, LocalSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `NameTypeSupport::*`, `NameTypeSupport::*` [INFO] [stdout] --> examples/local_socket/client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use NameTypeSupport::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: examples/local_socket/server.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use NameTypeSupport::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> tests/udsocket/../util/namegen.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use {super::Xorshift32, interprocess::local_socket::NameTypeSupport}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> examples/unidirectional_teletype/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use interprocess::local_socket::LocalSocketStream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> tests/udsocket/datagram.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | interprocess::os::unix::udsocket::{UdStream, UdStreamListener}, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> tests/udsocket/stream.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | interprocess::os::unix::udsocket::{UdStream, UdStreamListener}, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `NameTypeSupport::*` [INFO] [stdout] --> tests/udsocket/../util/namegen.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use NameTypeSupport::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interprocess` [INFO] [stdout] --> examples/unidirectional_teletype/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use interprocess::local_socket::{LocalSocketListener, LocalSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `interprocess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interprocess-docfix` (example "lockstep_teletype") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `interprocess-docfix` (example "unidirectional_teletype") due to 3 previous errors [INFO] [stdout] error[E0408]: variable `Both` is not bound in all patterns [INFO] [stdout] --> examples/local_socket/client.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | OnlyNamespaced | Both => "@example.sock", [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Both` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 15 | OnlyNamespaced | interprocess_docfix::local_socket::NameTypeSupport::Both => "@example.sock", [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 15 | OnlyNamespaced | std::net::Shutdown::Both => "@example.sock", [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `OnlyNamespaced` is not bound in all patterns [INFO] [stdout] --> examples/local_socket/client.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | OnlyNamespaced | Both => "@example.sock", [INFO] [stdout] | -------------- ^^^^ pattern doesn't bind `OnlyNamespaced` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `interprocess_docfix::local_socket::NameTypeSupport::OnlyNamespaced`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 15 | interprocess_docfix::local_socket::NameTypeSupport::OnlyNamespaced | Both => "@example.sock", [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Both` is not bound in all patterns [INFO] [stdout] --> tests/udsocket/../util/namegen.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | (OnlyPaths, _) | (Both, false) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Both` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 20 | (OnlyPaths, _) | (interprocess_docfix::local_socket::NameTypeSupport::Both, false) => false, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 20 | (OnlyPaths, _) | (std::net::Shutdown::Both, false) => false, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Both` is not bound in all patterns [INFO] [stdout] --> examples/local_socket/server.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | OnlyNamespaced | Both => "@example.sock", [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Both` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 30 | OnlyNamespaced | interprocess_docfix::local_socket::NameTypeSupport::Both => "@example.sock", [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 30 | OnlyNamespaced | std::net::Shutdown::Both => "@example.sock", [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `OnlyPaths` is not bound in all patterns [INFO] [stdout] --> tests/udsocket/../util/namegen.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | (OnlyPaths, _) | (Both, false) => false, [INFO] [stdout] | --------- ^^^^^^^^^^^^^ pattern doesn't bind `OnlyPaths` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `interprocess_docfix::local_socket::NameTypeSupport::OnlyPaths`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 20 | (interprocess_docfix::local_socket::NameTypeSupport::OnlyPaths, _) | (Both, false) => false, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `OnlyNamespaced` is not bound in all patterns [INFO] [stdout] --> examples/local_socket/server.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | OnlyNamespaced | Both => "@example.sock", [INFO] [stdout] | -------------- ^^^^ pattern doesn't bind `OnlyNamespaced` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `interprocess_docfix::local_socket::NameTypeSupport::OnlyNamespaced`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 30 | interprocess_docfix::local_socket::NameTypeSupport::OnlyNamespaced | Both => "@example.sock", [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Both` is not bound in all patterns [INFO] [stdout] --> tests/udsocket/../util/namegen.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | (OnlyNamespaced, _) | (Both, true) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Both` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 21 | (OnlyNamespaced, _) | (interprocess_docfix::local_socket::NameTypeSupport::Both, true) => true, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 21 | (OnlyNamespaced, _) | (std::net::Shutdown::Both, true) => true, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `OnlyNamespaced` is not bound in all patterns [INFO] [stdout] --> tests/udsocket/../util/namegen.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | (OnlyNamespaced, _) | (Both, true) => true, [INFO] [stdout] | -------------- ^^^^^^^^^^^^ pattern doesn't bind `OnlyNamespaced` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `interprocess_docfix::local_socket::NameTypeSupport::OnlyNamespaced`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 21 | (interprocess_docfix::local_socket::NameTypeSupport::OnlyNamespaced, _) | (Both, true) => true, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `BufReader` [INFO] [stdout] --> examples/local_socket/server.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut conn = BufReader::new(conn); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | conn.get_mut().write_all(b"Hello from server!\n")?; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 68 | let mut conn: BufReader = BufReader::new(conn); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `BufReader` [INFO] [stdout] --> tests/udsocket/stream.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut conn = match listener.accept() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | .write_all(SERVER_MSG.as_bytes()) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 49 | let mut conn: BufReader = match listener.accept() { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/os/unix/udsocket/path.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::{Cow, ToOwned}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/os/unix/udsocket/path_drop_guard.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ffi::OsStr, fs::remove_file, ops::Drop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> examples/local_socket/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> examples/local_socket/client.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{prelude::*, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0408, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interprocess-docfix` (example "local_socket") due to 9 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tests/udsocket/stream.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | io::{self, BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0408, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interprocess-docfix` (test "udsocket") due to 10 previous errors; 1 warning emitted [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7851bd70338ebcd73bf31a770f41e3f23ee616e8f3dda003588044f32e8b106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7851bd70338ebcd73bf31a770f41e3f23ee616e8f3dda003588044f32e8b106c", kill_on_drop: false }` [INFO] [stdout] 7851bd70338ebcd73bf31a770f41e3f23ee616e8f3dda003588044f32e8b106c [INFO] checking interprocess-docfix-1.2.2 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate interprocess-docfix 1.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate interprocess-docfix 1.2.2 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate interprocess-docfix 1.2.2 [INFO] finished tweaking crates.io crate interprocess-docfix 1.2.2 [INFO] tweaked toml for crates.io crate interprocess-docfix 1.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate interprocess-docfix 1.2.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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2a968d1c4e997650c65fa3f8d814681ec597ef8d40b95a6da7d88950c515c8d [INFO] running `Command { std: "docker" "start" "-a" "d2a968d1c4e997650c65fa3f8d814681ec597ef8d40b95a6da7d88950c515c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2a968d1c4e997650c65fa3f8d814681ec597ef8d40b95a6da7d88950c515c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a968d1c4e997650c65fa3f8d814681ec597ef8d40b95a6da7d88950c515c8d", kill_on_drop: false }` [INFO] [stdout] d2a968d1c4e997650c65fa3f8d814681ec597ef8d40b95a6da7d88950c515c8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4dbdad3e7cf3d324a392e6f95839758ca8e6d5bdb155bafd756d1cb20375691 [INFO] running `Command { std: "docker" "start" "-a" "b4dbdad3e7cf3d324a392e6f95839758ca8e6d5bdb155bafd756d1cb20375691", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "b4dbdad3e7cf3d324a392e6f95839758ca8e6d5bdb155bafd756d1cb20375691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4dbdad3e7cf3d324a392e6f95839758ca8e6d5bdb155bafd756d1cb20375691", kill_on_drop: false }` [INFO] [stdout] b4dbdad3e7cf3d324a392e6f95839758ca8e6d5bdb155bafd756d1cb20375691