[INFO] fetching crate lsio 0.1.18... [INFO] testing lsio-0.1.18 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lsio 0.1.18 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate lsio 0.1.18 [INFO] finished tweaking crates.io crate lsio 0.1.18 [INFO] tweaked toml for crates.io crate lsio 0.1.18 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lsio 0.1.18 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.8) [INFO] [stderr] Adding errno v0.1.8 (available: v0.3.13) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding rpassword v0.2.3 (available: v7.4.0) [INFO] [stderr] Adding term v0.4.6 (available: v1.1.0) [INFO] [stderr] Adding toml v0.2.1 (available: v0.9.5) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rpassword v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd90a118e0b2e3de6dd885f2a60b6480d299ba2b45290a981ac4c61bbcfe5b00 [INFO] running `Command { std: "docker" "start" "-a" "fd90a118e0b2e3de6dd885f2a60b6480d299ba2b45290a981ac4c61bbcfe5b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd90a118e0b2e3de6dd885f2a60b6480d299ba2b45290a981ac4c61bbcfe5b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd90a118e0b2e3de6dd885f2a60b6480d299ba2b45290a981ac4c61bbcfe5b00", kill_on_drop: false }` [INFO] [stdout] fd90a118e0b2e3de6dd885f2a60b6480d299ba2b45290a981ac4c61bbcfe5b00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 467b8e34c1b280042110e86877e2db21cbe0e7a64ecfddae151271f0081d57f0 [INFO] running `Command { std: "docker" "start" "-a" "467b8e34c1b280042110e86877e2db21cbe0e7a64ecfddae151271f0081d57f0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling errno v0.1.8 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rpassword v0.2.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling lsio v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `println_color_quiet` is defined multiple times [INFO] [stdout] --> src/macros.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 52 | macro_rules! println_color_quiet { [INFO] [stdout] | -------------------------------- previous definition of the macro `println_color_quiet` here [INFO] [stdout] ... [INFO] [stdout] 100 | macro_rules! println_color_quiet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `println_color_quiet` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `println_color_quiet` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/commands.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_args(cmd: &str, args: &[String], shell: bool) -> Result<(Output)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - pub fn run_args(cmd: &str, args: &[String], shell: bool) -> Result<(Output)> { [INFO] [stdout] 30 + pub fn run_args(cmd: &str, args: &[String], shell: bool) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/commands.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | output = try!(Command::new(cmd).args(args).output()); [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/commands.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | output = try!(run_cli(arg_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/commands.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | output = try!(run_cli(cmd.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/commands.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn run_cli(cmd_line: String) -> Result<(Output)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - pub fn run_cli(cmd_line: String) -> Result<(Output)> { [INFO] [stdout] 63 + pub fn run_cli(cmd_line: String) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/commands.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let output = try!(Command::new("sh").arg("-c").arg(&cmd_line).output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/system.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let socket = try!(UdpSocket::bind("0.0.0.0:0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/system.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let _ = try!(socket.connect(if dns.is_empty() {GOOGLE_DNS} else {&ip})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/system.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let addr = try!(socket.local_addr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/system.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/system.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let s = try!(slice.to_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/system.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | let mut utsname: libc::utsname = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 123 | Error::IO(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lsio` (lib) due to 1 previous error; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "467b8e34c1b280042110e86877e2db21cbe0e7a64ecfddae151271f0081d57f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467b8e34c1b280042110e86877e2db21cbe0e7a64ecfddae151271f0081d57f0", kill_on_drop: false }` [INFO] [stdout] 467b8e34c1b280042110e86877e2db21cbe0e7a64ecfddae151271f0081d57f0