[INFO] cloning repository https://github.com/Pauan/rust-web-worker-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pauan/rust-web-worker-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauan%2Frust-web-worker-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauan%2Frust-web-worker-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aeb831c30f9b76b130813f24f80008ce908d6d4c [INFO] checking Pauan/rust-web-worker-test against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauan%2Frust-web-worker-test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pauan/rust-web-worker-test on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pauan/rust-web-worker-test [INFO] finished tweaking git repo https://github.com/Pauan/rust-web-worker-test [INFO] tweaked toml for git repo https://github.com/Pauan/rust-web-worker-test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pauan/rust-web-worker-test 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a6a002e5780fe053ac85c574f53e5de9df4bea53c5e05c69a264ee97b3403c3 [INFO] running `Command { std: "docker" "start" "-a" "3a6a002e5780fe053ac85c574f53e5de9df4bea53c5e05c69a264ee97b3403c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6a002e5780fe053ac85c574f53e5de9df4bea53c5e05c69a264ee97b3403c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6a002e5780fe053ac85c574f53e5de9df4bea53c5e05c69a264ee97b3403c3", kill_on_drop: false }` [INFO] [stdout] 3a6a002e5780fe053ac85c574f53e5de9df4bea53c5e05c69a264ee97b3403c3 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40be87e10a94bdeb698fedf55383b7c9ee97fcb0b588526e125b692feeecc6b1 [INFO] running `Command { std: "docker" "start" "-a" "40be87e10a94bdeb698fedf55383b7c9ee97fcb0b588526e125b692feeecc6b1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Checking js-sys v0.3.59 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.59 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.32 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking console_log v0.2.0 [INFO] [stderr] Checking worker v0.1.0 (/opt/rustwide/workdir/src/worker) [INFO] [stderr] Checking thread1 v0.1.0 (/opt/rustwide/workdir/src/thread1) [INFO] [stderr] Checking thread2 v0.1.0 (/opt/rustwide/workdir/src/thread2) [INFO] [stdout] error[E0597]: `thread.worker` does not live long enough [INFO] [stdout] --> src/thread1/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn compute(input: Vec) -> Vec { [INFO] [stdout] 3 | | let mut input = input; [INFO] [stdout] 4 | | input[0] = 5; [INFO] [stdout] 5 | | input [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | | `thread.worker` dropped here while still borrowed [INFO] [stdout] | | binding `thread` declared here [INFO] [stdout] | |_let's call the lifetime of this reference `'1` [INFO] [stdout] | argument requires that `thread.worker` is borrowed for `'1` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `thread.worker` does not live long enough [INFO] [stdout] --> src/thread2/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] 3 | | x + y [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | | `thread.worker` dropped here while still borrowed [INFO] [stdout] | | binding `thread` declared here [INFO] [stdout] | |_let's call the lifetime of this reference `'1` [INFO] [stdout] | argument requires that `thread.worker` is borrowed for `'1` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `thread.worker` does not live long enough [INFO] [stdout] --> src/thread1/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn compute(input: Vec) -> Vec { [INFO] [stdout] 3 | | let mut input = input; [INFO] [stdout] 4 | | input[0] = 5; [INFO] [stdout] 5 | | input [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | | `thread.worker` dropped here while still borrowed [INFO] [stdout] | | binding `thread` declared here [INFO] [stdout] | |_let's call the lifetime of this reference `'1` [INFO] [stdout] | argument requires that `thread.worker` is borrowed for `'1` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `thread.worker` does not live long enough [INFO] [stdout] --> src/thread2/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] 3 | | x + y [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | | `thread.worker` dropped here while still borrowed [INFO] [stdout] | | binding `thread` declared here [INFO] [stdout] | |_let's call the lifetime of this reference `'1` [INFO] [stdout] | argument requires that `thread.worker` is borrowed for `'1` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `thread` because it is borrowed [INFO] [stdout] --> src/thread1/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn compute(input: Vec) -> Vec { [INFO] [stdout] 3 | | let mut input = input; [INFO] [stdout] 4 | | input[0] = 5; [INFO] [stdout] 5 | | input [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | move out of `thread` occurs here [INFO] [stdout] | | borrow of `thread.worker` occurs here [INFO] [stdout] | | move occurs due to use in generator [INFO] [stdout] | |_binding `thread` declared here [INFO] [stdout] | borrow later captured here by closure [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `thread` because it is borrowed [INFO] [stdout] --> src/thread2/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] 3 | | x + y [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | move out of `thread` occurs here [INFO] [stdout] | | borrow of `thread.worker` occurs here [INFO] [stdout] | | move occurs due to use in generator [INFO] [stdout] | |_binding `thread` declared here [INFO] [stdout] | borrow later captured here by closure [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `thread` because it is borrowed [INFO] [stdout] --> src/thread1/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn compute(input: Vec) -> Vec { [INFO] [stdout] 3 | | let mut input = input; [INFO] [stdout] 4 | | input[0] = 5; [INFO] [stdout] 5 | | input [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | move out of `thread` occurs here [INFO] [stdout] | | borrow of `thread.worker` occurs here [INFO] [stdout] | | move occurs due to use in generator [INFO] [stdout] | |_binding `thread` declared here [INFO] [stdout] | borrow later captured here by closure [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `thread` because it is borrowed [INFO] [stdout] --> src/thread2/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / worker::api! { [INFO] [stdout] 2 | | pub async fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] 3 | | x + y [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | move out of `thread` occurs here [INFO] [stdout] | | borrow of `thread.worker` occurs here [INFO] [stdout] | | move occurs due to use in generator [INFO] [stdout] | |_binding `thread` declared here [INFO] [stdout] | borrow later captured here by closure [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `worker::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thread1` (lib test) due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stderr] error: could not compile `thread2` (lib) due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thread1` (lib) due to 3 previous errors [INFO] [stderr] error: could not compile `thread2` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "40be87e10a94bdeb698fedf55383b7c9ee97fcb0b588526e125b692feeecc6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40be87e10a94bdeb698fedf55383b7c9ee97fcb0b588526e125b692feeecc6b1", kill_on_drop: false }` [INFO] [stdout] 40be87e10a94bdeb698fedf55383b7c9ee97fcb0b588526e125b692feeecc6b1