[INFO] updating cached repository https://github.com/rakshith-ravi/test-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 11cbd99cf11d2bfc0c6fd73cc3fc5704a62ed965 [INFO] checking rakshith-ravi/test-rust against master#6250d56355d72264ece721e8d0dc95b16a6824b1 for pr-68350 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frakshith-ravi%2Ftest-rust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rakshith-ravi/test-rust on toolchain 6250d56355d72264ece721e8d0dc95b16a6824b1 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/rakshith-ravi/test-rust [INFO] finished tweaking git repo https://github.com/rakshith-ravi/test-rust [INFO] tweaked toml for git repo https://github.com/rakshith-ravi/test-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/rakshith-ravi/test-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "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" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "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] 462ad1b63c3c1ffbc9592e2e7aa9f941df15418292a61332c871f0d012e79f41 [INFO] running `"docker" "start" "-a" "462ad1b63c3c1ffbc9592e2e7aa9f941df15418292a61332c871f0d012e79f41"` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Checking async-std v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [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 gotham v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/service/data_handler.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn handle_request(module: &Module, data: &String) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_module` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/models/module.rs:109:7 [INFO] [stderr] | [INFO] [stderr] 109 | let mut rec = &self.socket_receiver; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*rec` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/models/module.rs:111:26 [INFO] [stderr] | [INFO] [stderr] 109 | let mut rec = &self.socket_receiver; [INFO] [stderr] | --------------------- help: consider changing this to be a mutable reference: `&mut self.socket_receiver` [INFO] [stderr] 110 | [INFO] [stderr] 111 | while let Some(data) = rec.next().await { [INFO] [stderr] | ^^^ `rec` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: could not compile `gotham`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/service/data_handler.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn handle_request(module: &Module, data: &String) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_module` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/models/module.rs:109:7 [INFO] [stderr] | [INFO] [stderr] 109 | let mut rec = &self.socket_receiver; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*rec` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/models/module.rs:111:26 [INFO] [stderr] | [INFO] [stderr] 109 | let mut rec = &self.socket_receiver; [INFO] [stderr] | --------------------- help: consider changing this to be a mutable reference: `&mut self.socket_receiver` [INFO] [stderr] 110 | [INFO] [stderr] 111 | while let Some(data) = rec.next().await { [INFO] [stderr] | ^^^ `rec` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: could not compile `gotham`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "462ad1b63c3c1ffbc9592e2e7aa9f941df15418292a61332c871f0d012e79f41"` [INFO] running `"docker" "rm" "-f" "462ad1b63c3c1ffbc9592e2e7aa9f941df15418292a61332c871f0d012e79f41"` [INFO] [stdout] 462ad1b63c3c1ffbc9592e2e7aa9f941df15418292a61332c871f0d012e79f41