[INFO] cloning repository avraamisvi/pool [INFO] running `"git" "clone" "--bare" "git://github.com/avraamisvi/pool.git" "work/cache/sources/gh/avraamisvi/pool"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/avraamisvi/pool'... [INFO] running `"git" "clone" "work/cache/sources/gh/avraamisvi/pool" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/avraamisvi/pool"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/avraamisvi/pool'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/avraamisvi/pool" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/avraamisvi/pool"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/avraamisvi/pool'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9b381692f3b11f221aad9134e2961d10fa37ecf6 [INFO] sha for GitHub repo avraamisvi/pool: 9b381692f3b11f221aad9134e2961d10fa37ecf6 [INFO] validating manifest of avraamisvi/pool on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of avraamisvi/pool on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing avraamisvi/pool [INFO] finished frobbing avraamisvi/pool [INFO] frobbed toml for avraamisvi/pool written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/avraamisvi/pool/Cargo.toml [INFO] started frobbing avraamisvi/pool [INFO] finished frobbing avraamisvi/pool [INFO] frobbed toml for avraamisvi/pool written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/avraamisvi/pool/Cargo.toml [INFO] crate avraamisvi/pool already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking avraamisvi/pool against master#9f06855064ed06a50c496577b21ca50f92a2e67d for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-6/master#9f06855064ed06a50c496577b21ca50f92a2e67d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/avraamisvi/pool:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1c09263dfcb434e5de523d0e54d6ec0fdfb162e9fb308030e618e833ae8c99f9 [INFO] running `"docker" "start" "-a" "1c09263dfcb434e5de523d0e54d6ec0fdfb162e9fb308030e618e833ae8c99f9"` [INFO] [stderr] Checking pool v0.1.0 (/opt/crater/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: 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] 78 | Option::None [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unreachable_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | Option::None [INFO] [stderr] | ^^^^^^^^^^^^ [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 [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [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 [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: Could not compile `pool`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `pool`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1c09263dfcb434e5de523d0e54d6ec0fdfb162e9fb308030e618e833ae8c99f9"` [INFO] running `"docker" "rm" "-f" "1c09263dfcb434e5de523d0e54d6ec0fdfb162e9fb308030e618e833ae8c99f9"` [INFO] [stdout] 1c09263dfcb434e5de523d0e54d6ec0fdfb162e9fb308030e618e833ae8c99f9