[INFO] fetching crate tun-tap-new 0.1.0... [INFO] testing tun-tap-new-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tun-tap-new 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tun-tap-new 0.1.0 [INFO] finished tweaking crates.io crate tun-tap-new 0.1.0 [INFO] tweaked toml for crates.io crate tun-tap-new 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tun-tap-new 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.4) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding version-sync v0.5.0 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 005406bbded1420f3941710cfc6b9945cd874499b897866a7c8819632945947e [INFO] running `Command { std: "docker" "start" "-a" "005406bbded1420f3941710cfc6b9945cd874499b897866a7c8819632945947e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005406bbded1420f3941710cfc6b9945cd874499b897866a7c8819632945947e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005406bbded1420f3941710cfc6b9945cd874499b897866a7c8819632945947e", kill_on_drop: false }` [INFO] [stdout] 005406bbded1420f3941710cfc6b9945cd874499b897866a7c8819632945947e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecfbe3098f5f3661a68e8e69c8c2d571eff0beca6f9adc8b0ee89a9ef69b4e21 [INFO] running `Command { std: "docker" "start" "-a" "ecfbe3098f5f3661a68e8e69c8c2d571eff0beca6f9adc8b0ee89a9ef69b4e21", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling tun-tap-new v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/async.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use self::tokio::reactor::{Handle, PollEvented2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/lib.rs:143:85 [INFO] [stdout] | [INFO] [stdout] 143 | let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 143 - let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] 143 + let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, if packet_info { 1 } else { 0 }) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.75s [INFO] running `Command { std: "docker" "inspect" "ecfbe3098f5f3661a68e8e69c8c2d571eff0beca6f9adc8b0ee89a9ef69b4e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfbe3098f5f3661a68e8e69c8c2d571eff0beca6f9adc8b0ee89a9ef69b4e21", kill_on_drop: false }` [INFO] [stdout] ecfbe3098f5f3661a68e8e69c8c2d571eff0beca6f9adc8b0ee89a9ef69b4e21 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94e72d11c3fc9b4336be646704ecf98389aaabb1ba910e18c0279f5d9f56e6a4 [INFO] running `Command { std: "docker" "start" "-a" "94e72d11c3fc9b4336be646704ecf98389aaabb1ba910e18c0279f5d9f56e6a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling version-sync v0.5.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tun-tap-new v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/async.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use self::tokio::reactor::{Handle, PollEvented2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/lib.rs:143:85 [INFO] [stdout] | [INFO] [stdout] 143 | let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 143 - let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] 143 + let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, if packet_info { 1 } else { 0 }) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/pingpong.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tokio_core` [INFO] [stdout] --> examples/tokio.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tun-tap-new` (example "tokio") due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/tokio.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> examples/pingpong.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let iface_writer = Arc::clone(&iface); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | let amount = iface_writer.send(PING).unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `iface_writer` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 47 | let iface_writer: Arc = Arc::clone(&iface); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tun-tap-new` (example "pingpong") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> examples/pingpong.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let iface_reader = Arc::clone(&iface); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | let size = iface_reader.recv(&mut buffer).unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `iface_reader` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 48 | let iface_reader: Arc = Arc::clone(&iface); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/dump_iface.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/async.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use self::tokio::reactor::{Handle, PollEvented2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/lib.rs:143:85 [INFO] [stdout] | [INFO] [stdout] 143 | let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 143 - let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] 143 + let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, if packet_info { 1 } else { 0 }) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tun-tap-new` (example "dump_iface") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `tokio_core` [INFO] [stdout] --> examples/vpn.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/vpn.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tun-tap-new` (example "vpn") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "94e72d11c3fc9b4336be646704ecf98389aaabb1ba910e18c0279f5d9f56e6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94e72d11c3fc9b4336be646704ecf98389aaabb1ba910e18c0279f5d9f56e6a4", kill_on_drop: false }` [INFO] [stdout] 94e72d11c3fc9b4336be646704ecf98389aaabb1ba910e18c0279f5d9f56e6a4