[INFO] cloning repository https://github.com/oceanwavechina/trust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oceanwavechina/trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanwavechina%2Ftrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanwavechina%2Ftrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 425be7cbab3fedb687d277681b04486f2ffcb029 [INFO] testing oceanwavechina/trust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanwavechina%2Ftrust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oceanwavechina/trust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oceanwavechina/trust [INFO] finished tweaking git repo https://github.com/oceanwavechina/trust [INFO] tweaked toml for git repo https://github.com/oceanwavechina/trust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/oceanwavechina/trust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tun-tap v0.1.2 [INFO] [stderr] Downloaded mio v0.6.18 [INFO] [stderr] Downloaded etherparse v0.8.2 [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" "+beta-2022-02-22" "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] ea074ca813ec36ba79a20b9ee2103c47ea342b25828566f70c07cbe6b268df93 [INFO] running `Command { std: "docker" "start" "-a" "ea074ca813ec36ba79a20b9ee2103c47ea342b25828566f70c07cbe6b268df93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea074ca813ec36ba79a20b9ee2103c47ea342b25828566f70c07cbe6b268df93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea074ca813ec36ba79a20b9ee2103c47ea342b25828566f70c07cbe6b268df93", kill_on_drop: false }` [INFO] [stdout] ea074ca813ec36ba79a20b9ee2103c47ea342b25828566f70c07cbe6b268df93 [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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fdea04f9653f60ec96efa8dd47e093c7ccadb229ddeef642287984ef227af6a [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" "3fdea04f9653f60ec96efa8dd47e093c7ccadb229ddeef642287984ef227af6a", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Compiling etherparse v0.8.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.18 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.20 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling trust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/tcp.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cm` [INFO] [stdout] --> src/lib.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | let cm = self.h.conn_manager.lock().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `how` [INFO] [stdout] --> src/lib.rs:384:28 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn shutdown(&self, how: std::net::Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_how` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/tcp.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | let mut buf = [0u8; 1500]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | data: &'a [u8] [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nacked` [INFO] [stdout] --> src/tcp.rs:494:10 [INFO] [stdout] | [INFO] [stdout] 494 | let nacked = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nacked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iph` [INFO] [stdout] --> src/tcp.rs:422:3 [INFO] [stdout] | [INFO] [stdout] 422 | iph: etherparse::Ipv4HeaderSlice<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | let mut buf = [0u8; 1500]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:502:10 [INFO] [stdout] | [INFO] [stdout] 502 | let mut srtt = &mut self.timers.srtt; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_non_synchronized` [INFO] [stdout] --> src/tcp.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_non_synchronized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hava_sent_fin` [INFO] [stdout] --> src/tcp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn hava_sent_fin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl1` [INFO] [stdout] --> src/tcp.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 110 | wl1: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl2` [INFO] [stdout] --> src/tcp.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | wl2: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:141:2 [INFO] [stdout] | [INFO] [stdout] 141 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `irs` [INFO] [stdout] --> src/tcp.rs:144:2 [INFO] [stdout] | [INFO] [stdout] 144 | irs: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_rst` [INFO] [stdout] --> src/tcp.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | fn send_rst( &mut self, nic: &mut tun_tap::Iface, ) -> io::Result< () > { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:294:3 [INFO] [stdout] | [INFO] [stdout] 294 | self.ip.set_payload_len(size - self.ip.header_len() as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:304:3 [INFO] [stdout] | [INFO] [stdout] 304 | self.ip.write(& mut unwritten); // move to next writefull point we have not written yet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 305 | self.tcp.write(& mut unwritten); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trust` due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3fdea04f9653f60ec96efa8dd47e093c7ccadb229ddeef642287984ef227af6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdea04f9653f60ec96efa8dd47e093c7ccadb229ddeef642287984ef227af6a", kill_on_drop: false }` [INFO] [stdout] 3fdea04f9653f60ec96efa8dd47e093c7ccadb229ddeef642287984ef227af6a