[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanwavechina%2Ftrust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oceanwavechina/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/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-2/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded mio v0.6.18 [INFO] [stderr] Downloaded tokio v0.1.20 [INFO] [stderr] Downloaded etherparse v0.8.2 [INFO] [stderr] Downloaded tun-tap v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] ed54aca69dfa56109ade395333e393bb6b0adf5dd1efc839e6d892b99eec3cbd [INFO] running `Command { std: "docker" "start" "-a" "ed54aca69dfa56109ade395333e393bb6b0adf5dd1efc839e6d892b99eec3cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed54aca69dfa56109ade395333e393bb6b0adf5dd1efc839e6d892b99eec3cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed54aca69dfa56109ade395333e393bb6b0adf5dd1efc839e6d892b99eec3cbd", kill_on_drop: false }` [INFO] [stdout] ed54aca69dfa56109ade395333e393bb6b0adf5dd1efc839e6d892b99eec3cbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 24c80fd7c07843618a9810535705e68b0dd540e8502bf2481a586af5d9a12218 [INFO] running `Command { std: "docker" "start" "-a" "24c80fd7c07843618a9810535705e68b0dd540e8502bf2481a586af5d9a12218", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling etherparse v0.8.2 [INFO] [stderr] Compiling mio v0.6.18 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp 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 stable 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] running `Command { std: "docker" "inspect" "24c80fd7c07843618a9810535705e68b0dd540e8502bf2481a586af5d9a12218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c80fd7c07843618a9810535705e68b0dd540e8502bf2481a586af5d9a12218", kill_on_drop: false }` [INFO] [stdout] 24c80fd7c07843618a9810535705e68b0dd540e8502bf2481a586af5d9a12218