[INFO] updating cached repository https://github.com/avraamisvi/pool [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] 9b381692f3b11f221aad9134e2961d10fa37ecf6 [INFO] testing avraamisvi/pool against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favraamisvi%2Fpool" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/avraamisvi/pool on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/avraamisvi/pool [INFO] finished tweaking git repo https://github.com/avraamisvi/pool [INFO] tweaked toml for git repo https://github.com/avraamisvi/pool written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/avraamisvi/pool already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8de8f81ed334bbc06293eaef072fac9d5eb1a34993575ffdb4503533ece4c687 [INFO] running `"docker" "start" "-a" "8de8f81ed334bbc06293eaef072fac9d5eb1a34993575ffdb4503533ece4c687"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling pool v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | if(self.count == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 53 | return self.in_use.last().clone(); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 78 | Option::None [INFO] [stderr] | ^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:50:37 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get(&self) -> Option<&Arc>> { [INFO] [stderr] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stderr] ... [INFO] [stderr] 50 | let entry = Entry{data: self.call_closure(&self.factory)}; [INFO] [stderr] | ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `self.in_use` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get(&self) -> Option<&Arc>> { [INFO] [stderr] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stderr] ... [INFO] [stderr] 51 | self.in_use.push(Arc::new(entry)); [INFO] [stderr] | ^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `self.available` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get(&self) -> Option<&Arc>> { [INFO] [stderr] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stderr] ... [INFO] [stderr] 55 | return match self.available.pop() { [INFO] [stderr] | ^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:59:52 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get(&self) -> Option<&Arc>> { [INFO] [stderr] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stderr] ... [INFO] [stderr] 59 | let entry = Entry{data:self.call_closure(&self.factory)}; [INFO] [stderr] | ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `self.in_use` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get(&self) -> Option<&Arc>> { [INFO] [stderr] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stderr] ... [INFO] [stderr] 61 | self.in_use.push(Arc::new(entry)); [INFO] [stderr] | ^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get(&self) -> Option<&Arc>> { [INFO] [stderr] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stderr] ... [INFO] [stderr] 63 | self.increase(); [INFO] [stderr] | ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `self.in_use` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get(&self) -> Option<&Arc>> { [INFO] [stderr] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stderr] ... [INFO] [stderr] 71 | self.in_use.push(arc_entry); [INFO] [stderr] | ^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: could not compile `pool`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8de8f81ed334bbc06293eaef072fac9d5eb1a34993575ffdb4503533ece4c687"` [INFO] running `"docker" "rm" "-f" "8de8f81ed334bbc06293eaef072fac9d5eb1a34993575ffdb4503533ece4c687"` [INFO] [stdout] 8de8f81ed334bbc06293eaef072fac9d5eb1a34993575ffdb4503533ece4c687