[INFO] cloning repository https://github.com/Haizza1/trust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Haizza1/trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaizza1%2Ftrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaizza1%2Ftrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6d41eb1cd3b72063d02bb8a5b9a2e03cc5a0af0 [INFO] testing Haizza1/trust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaizza1%2Ftrust" "/workspace/builds/worker-74/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-74/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Haizza1/trust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Haizza1/trust [INFO] finished tweaking git repo https://github.com/Haizza1/trust [INFO] tweaked toml for git repo https://github.com/Haizza1/trust written to /workspace/builds/worker-74/source/Cargo.toml [INFO] crate git repo https://github.com/Haizza1/trust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tun-tap v0.1.2 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded etherparse v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b182908fcf44a2e4fa903bc94d1c496895a61fd1651962c875dfc546432fb60f [INFO] running `Command { std: "docker" "start" "-a" "b182908fcf44a2e4fa903bc94d1c496895a61fd1651962c875dfc546432fb60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b182908fcf44a2e4fa903bc94d1c496895a61fd1651962c875dfc546432fb60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b182908fcf44a2e4fa903bc94d1c496895a61fd1651962c875dfc546432fb60f", kill_on_drop: false }` [INFO] [stdout] b182908fcf44a2e4fa903bc94d1c496895a61fd1651962c875dfc546432fb60f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e0e04d55df7030558e01c44c05dcb96f2896d68e200cbb4b7de783ee18e0985 [INFO] running `Command { std: "docker" "start" "-a" "1e0e04d55df7030558e01c44c05dcb96f2896d68e200cbb4b7de783ee18e0985", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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 etherparse v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [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] [stderr] Compiling trust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | let datai = iph [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 39 | }, [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iph` in this scope [INFO] [stdout] --> src/lib.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let datai = iph [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `ih` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/lib.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 30 | / fn packet_loop(mut nic: tun_tap::Iface, ih: InterfaceHandle) { [INFO] [stdout] 31 | | let mut buf = [0u8; 1504]; [INFO] [stdout] 32 | | loop { [INFO] [stdout] 33 | | let nbytes = nic.recv(&mut buf[..])?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(Interface { ih, jh }) [INFO] [stdout] | ^^ expected struct `JoinHandle`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `JoinHandle<()>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [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: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trust` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1e0e04d55df7030558e01c44c05dcb96f2896d68e200cbb4b7de783ee18e0985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0e04d55df7030558e01c44c05dcb96f2896d68e200cbb4b7de783ee18e0985", kill_on_drop: false }` [INFO] [stdout] 1e0e04d55df7030558e01c44c05dcb96f2896d68e200cbb4b7de783ee18e0985