[INFO] fetching crate tun-tap-mac 0.1.2... [INFO] testing tun-tap-mac-0.1.2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate tun-tap-mac 0.1.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tun-tap-mac 0.1.2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tun-tap-mac 0.1.2 [INFO] finished tweaking crates.io crate tun-tap-mac 0.1.2 [INFO] tweaked toml for crates.io crate tun-tap-mac 0.1.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7fd50de657cbd8ca463aee7909ff9277391e77030b4f86f7302448c69f0898e8 [INFO] running `Command { std: "docker" "start" "-a" "7fd50de657cbd8ca463aee7909ff9277391e77030b4f86f7302448c69f0898e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd50de657cbd8ca463aee7909ff9277391e77030b4f86f7302448c69f0898e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd50de657cbd8ca463aee7909ff9277391e77030b4f86f7302448c69f0898e8", kill_on_drop: false }` [INFO] [stdout] 7fd50de657cbd8ca463aee7909ff9277391e77030b4f86f7302448c69f0898e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b23d7bba177c35c2009baebe62bfb5d750ec662e3189ab770d12c2209b01d18 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b23d7bba177c35c2009baebe62bfb5d750ec662e3189ab770d12c2209b01d18", kill_on_drop: false }` [INFO] [stderr] Compiling tun-tap-mac v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [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-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [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)]` 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.70s [INFO] running `Command { std: "docker" "inspect" "8b23d7bba177c35c2009baebe62bfb5d750ec662e3189ab770d12c2209b01d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b23d7bba177c35c2009baebe62bfb5d750ec662e3189ab770d12c2209b01d18", kill_on_drop: false }` [INFO] [stdout] 8b23d7bba177c35c2009baebe62bfb5d750ec662e3189ab770d12c2209b01d18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f660c151050298fe6073bd3409e96c0c94678c8af391c598e043c691f102c829 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f660c151050298fe6073bd3409e96c0c94678c8af391c598e043c691f102c829", kill_on_drop: false }` [INFO] [stderr] Compiling tun-tap-mac v0.1.2 (/opt/rustwide/workdir) [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)]` 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] warning: 1 warning emitted [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] 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 `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] [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] error[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/vpn.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let tun = Iface::new("vpn%d", Mode::Tun) [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/vpn.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let tun = Iface::new("vpn%d", Mode::Tun) [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async` [INFO] [stdout] --> examples/vpn.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | let (sink, stream) = Async::new(tun, &core.handle()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 19 | use futures::Async; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/tokio.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/tokio.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async` [INFO] [stdout] --> examples/tokio.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let iface = Async::new(iface, &core.handle()).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 | use futures::Async; [INFO] [stdout] | [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)]` 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[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/dump_iface.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/dump_iface.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> examples/vpn.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/pingpong.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/pingpong.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> examples/tokio.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tun-tap-mac` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `send` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/pingpong.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | let amount = iface_writer.send(PING).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `iface_writer` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recv` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/pingpong.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | let size = iface_reader.recv(&mut buffer).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `iface_reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f660c151050298fe6073bd3409e96c0c94678c8af391c598e043c691f102c829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f660c151050298fe6073bd3409e96c0c94678c8af391c598e043c691f102c829", kill_on_drop: false }` [INFO] [stdout] f660c151050298fe6073bd3409e96c0c94678c8af391c598e043c691f102c829