[INFO] cloning repository https://github.com/drdreo/rs-webhook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drdreo/rs-webhook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrdreo%2Frs-webhook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrdreo%2Frs-webhook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cd91224b38121cde8707007c5c27798657e0631 [INFO] checking drdreo/rs-webhook/9cd91224b38121cde8707007c5c27798657e0631 against master#2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrdreo%2Frs-webhook" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drdreo/rs-webhook on toolchain 2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drdreo/rs-webhook [INFO] finished tweaking git repo https://github.com/drdreo/rs-webhook [INFO] tweaked toml for git repo https://github.com/drdreo/rs-webhook written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/drdreo/rs-webhook 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" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.180 [INFO] [stderr] Downloaded async-trait v0.1.72 [INFO] [stderr] Downloaded serde_json v1.0.104 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded serde_derive v1.0.180 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded cc v1.0.82 [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded rustix v0.38.7 [INFO] [stderr] Downloaded regex-automata v0.3.4 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded worker-kv v0.6.0 [INFO] [stderr] Downloaded worker-macros v0.0.9 [INFO] [stderr] Downloaded worker-sys v0.0.9 [INFO] [stderr] Downloaded worker v0.0.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbed950bab49cd2ee22b9435c282122f15a4b1b90883272d20b0c9c355cf783b [INFO] running `Command { std: "docker" "start" "-a" "bbed950bab49cd2ee22b9435c282122f15a4b1b90883272d20b0c9c355cf783b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbed950bab49cd2ee22b9435c282122f15a4b1b90883272d20b0c9c355cf783b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbed950bab49cd2ee22b9435c282122f15a4b1b90883272d20b0c9c355cf783b", kill_on_drop: false }` [INFO] [stdout] bbed950bab49cd2ee22b9435c282122f15a4b1b90883272d20b0c9c355cf783b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acee7f8d639832a3338db9630a58f57dd4111236476ebfbaadc1c9cc20af537b [INFO] running `Command { std: "docker" "start" "-a" "acee7f8d639832a3338db9630a58f57dd4111236476ebfbaadc1c9cc20af537b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling regex-automata v0.3.4 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Checking js-sys v0.3.61 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking web-sys v0.3.61 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.34 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking worker-kv v0.6.0 [INFO] [stderr] Compiling worker-sys v0.0.9 [INFO] [stderr] Checking wasm-streams v0.2.3 [INFO] [stderr] Compiling worker-macros v0.0.9 [INFO] [stderr] Checking worker v0.0.17 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking rust-webhook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `hash_query` [INFO] [stdout] --> src/lib.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 47 | let access_token = hash_query.get("access-token")?; [INFO] [stdout] | ---------- `hash_query` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 55 | return Some((id1, id2, access_token)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `hash_query` [INFO] [stdout] --> src/lib.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 47 | let access_token = hash_query.get("access-token")?; [INFO] [stdout] | ---------- `hash_query` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 55 | return Some((id1, id2, access_token)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-webhook` (lib test) due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-webhook` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "acee7f8d639832a3338db9630a58f57dd4111236476ebfbaadc1c9cc20af537b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acee7f8d639832a3338db9630a58f57dd4111236476ebfbaadc1c9cc20af537b", kill_on_drop: false }` [INFO] [stdout] acee7f8d639832a3338db9630a58f57dd4111236476ebfbaadc1c9cc20af537b