[INFO] crate async-tftp 0.1.3 is already in cache [INFO] checking async-tftp-0.1.3 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate async-tftp 0.1.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate async-tftp 0.1.3 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate async-tftp 0.1.3 [INFO] finished tweaking crates.io crate async-tftp 0.1.3 [INFO] tweaked toml for crates.io crate async-tftp 0.1.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate async-tftp 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e6286bb84bea1d4022e6cb30609ac3e8e5237724c7dbccb84828be58d1b2b2ab [INFO] running `"docker" "start" "-a" "e6286bb84bea1d4022e6cb30609ac3e8e5237724c7dbccb84828be58d1b2b2ab"` [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking async-macros v1.0.0 [INFO] [stderr] Checking futures-timer v1.0.3 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Checking getrandom v0.1.13 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking nom v5.0.1 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking broadcaster v0.2.6 [INFO] [stderr] Checking async-std v1.0.1 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.6 [INFO] [stderr] Compiling async-trait v0.1.18 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking thiserror v1.0.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking async-tftp v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/server/handlers/dir_ro.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | #[crate::async_trait] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 43 | / async fn read_req_open( [INFO] [stderr] 44 | | &mut self, [INFO] [stderr] 45 | | _client: &SocketAddr, [INFO] [stderr] 46 | | path: &Path, [INFO] [stderr] ... | [INFO] [stderr] 77 | | Ok((file, len)) [INFO] [stderr] 78 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | #[error("TFTP protocol error: {0:?}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | #[error("IO error: {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | #[error("Failed to bind socket: {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:21:46 [INFO] [stderr] | [INFO] [stderr] 21 | #[error("Path '{}' is not a directory", .0.display())] [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #[error("Max send retries reached (peer: {0}, block id: {1})")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #[error("Max send retries reached (peer: {0}, block id: {1})")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/server/server.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | type ReqResult = std::result::Result<(SocketAddr), (SocketAddr, Error)>; [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/server/handlers/dir_ro.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | #[crate::async_trait] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 43 | / async fn read_req_open( [INFO] [stderr] 44 | | &mut self, [INFO] [stderr] 45 | | _client: &SocketAddr, [INFO] [stderr] 46 | | path: &Path, [INFO] [stderr] ... | [INFO] [stderr] 77 | | Ok((file, len)) [INFO] [stderr] 78 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | #[error("TFTP protocol error: {0:?}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | #[error("IO error: {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | #[error("Failed to bind socket: {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:21:46 [INFO] [stderr] | [INFO] [stderr] 21 | #[error("Path '{}' is not a directory", .0.display())] [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #[error("Max send retries reached (peer: {0}, block id: {1})")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #[error("Max send retries reached (peer: {0}, block id: {1})")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/tests/handlers.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | #[crate::async_trait] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 30 | / async fn read_req_open( [INFO] [stderr] 31 | | &mut self, [INFO] [stderr] 32 | | _client: &SocketAddr, [INFO] [stderr] 33 | | _path: &Path, [INFO] [stderr] ... | [INFO] [stderr] 36 | | Ok((RandomFile::new(self.file_size, md5_tx), None)) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/server/server.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | type ReqResult = std::result::Result<(SocketAddr), (SocketAddr, Error)>; [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::io::Sink` [INFO] [stderr] --> src/tests/handlers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::io::Sink; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0424, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0424`. [INFO] [stderr] error: could not compile `async-tftp`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0424, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0424`. [INFO] [stderr] error: could not compile `async-tftp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e6286bb84bea1d4022e6cb30609ac3e8e5237724c7dbccb84828be58d1b2b2ab"` [INFO] running `"docker" "rm" "-f" "e6286bb84bea1d4022e6cb30609ac3e8e5237724c7dbccb84828be58d1b2b2ab"` [INFO] [stdout] e6286bb84bea1d4022e6cb30609ac3e8e5237724c7dbccb84828be58d1b2b2ab