[INFO] cloning repository https://github.com/ukaushik-98/garbo-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ukaushik-98/garbo-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukaushik-98%2Fgarbo-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukaushik-98%2Fgarbo-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c34e17e2913d437342dcbce0bae36d29c234cd5e [INFO] checking ukaushik-98/garbo-rs against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukaushik-98%2Fgarbo-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ukaushik-98/garbo-rs [INFO] finished tweaking git repo https://github.com/ukaushik-98/garbo-rs [INFO] tweaked toml for git repo https://github.com/ukaushik-98/garbo-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ukaushik-98/garbo-rs on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ukaushik-98/garbo-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 704afe5208a62f9dc2c16f76d282c0d5577dd4069e40b69562adb15431dfcc26 [INFO] running `Command { std: "docker" "start" "-a" "704afe5208a62f9dc2c16f76d282c0d5577dd4069e40b69562adb15431dfcc26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "704afe5208a62f9dc2c16f76d282c0d5577dd4069e40b69562adb15431dfcc26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704afe5208a62f9dc2c16f76d282c0d5577dd4069e40b69562adb15431dfcc26", kill_on_drop: false }` [INFO] [stdout] 704afe5208a62f9dc2c16f76d282c0d5577dd4069e40b69562adb15431dfcc26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15cb06efe81f711c394ee7460fa11ae87d499eff3c2243ef8b4e05038dc6d53a [INFO] running `Command { std: "docker" "start" "-a" "15cb06efe81f711c394ee7460fa11ae87d499eff3c2243ef8b4e05038dc6d53a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking garbo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | async fn bar(f: T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | async fn bar(f: T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | async fn boo(x: T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | async fn boo(x: T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `h` does not live long enough [INFO] [stdout] --> src/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut h = RandGarbo; [INFO] [stdout] | ----- binding `h` declared here [INFO] [stdout] 147 | let a = h.call(()); [INFO] [stdout] | ^ borrowed value does not live long enough [INFO] [stdout] 148 | boo(a); [INFO] [stdout] | ------ argument requires that `h` is borrowed for `'static` [INFO] [stdout] 149 | // tokio::spawn(async move { a }); [INFO] [stdout] 150 | } [INFO] [stdout] | - `h` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `h` does not live long enough [INFO] [stdout] --> src/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut h = RandGarbo; [INFO] [stdout] | ----- binding `h` declared here [INFO] [stdout] 147 | let a = h.call(()); [INFO] [stdout] | ^ borrowed value does not live long enough [INFO] [stdout] 148 | boo(a); [INFO] [stdout] | ------ argument requires that `h` is borrowed for `'static` [INFO] [stdout] 149 | // tokio::spawn(async move { a }); [INFO] [stdout] 150 | } [INFO] [stdout] | - `h` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PhantomPinned` cannot be unpinned [INFO] [stdout] --> src/main.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | bar(bax); [INFO] [stdout] | --- ^^^ within `Bax`, the trait `Unpin` is not implemented for `PhantomPinned` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required because it appears within the type `Bax` [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct Bax { [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `bar` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | async fn bar(f: T) {} [INFO] [stdout] | ^^^^^ required by this bound in `bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PhantomPinned` cannot be unpinned [INFO] [stdout] --> src/main.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | bar(bax); [INFO] [stdout] | --- ^^^ within `Bax`, the trait `Unpin` is not implemented for `PhantomPinned` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required because it appears within the type `Bax` [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct Bax { [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `bar` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | async fn bar(f: T) {} [INFO] [stdout] | ^^^^^ required by this bound in `bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PhantomPinned` cannot be unpinned [INFO] [stdout] --> src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | bar(bax); [INFO] [stdout] | ^^^^^^^^ within `Bax`, the trait `Unpin` is not implemented for `PhantomPinned` [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required because it appears within the type `Bax` [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct Bax { [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `bar` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | async fn bar(f: T) {} [INFO] [stdout] | ^^^^^ required by this bound in `bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PhantomPinned` cannot be unpinned [INFO] [stdout] --> src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | bar(bax); [INFO] [stdout] | ^^^^^^^^ within `Bax`, the trait `Unpin` is not implemented for `PhantomPinned` [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required because it appears within the type `Bax` [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct Bax { [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `bar` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | async fn bar(f: T) {} [INFO] [stdout] | ^^^^^ required by this bound in `bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/main.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn call(&mut self, req: Request) -> Self::Future<'_> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/main.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn call(&mut self, req: Request) -> Self::Future<'_> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `garbo` (bin "garbo" test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `garbo` (bin "garbo") due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "15cb06efe81f711c394ee7460fa11ae87d499eff3c2243ef8b4e05038dc6d53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15cb06efe81f711c394ee7460fa11ae87d499eff3c2243ef8b4e05038dc6d53a", kill_on_drop: false }` [INFO] [stdout] 15cb06efe81f711c394ee7460fa11ae87d499eff3c2243ef8b4e05038dc6d53a