[INFO] cloning repository https://github.com/karin0/pvg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karin0/pvg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarin0%2Fpvg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarin0%2Fpvg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5f23583be5215f8afb9ca21c7176bbf62623c97 [INFO] checking karin0/pvg-rs against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarin0%2Fpvg-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] validating manifest of git repo https://github.com/karin0/pvg-rs 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/karin0/pvg-rs [INFO] finished tweaking git repo https://github.com/karin0/pvg-rs [INFO] tweaked toml for git repo https://github.com/karin0/pvg-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/karin0/pvg-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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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] a1fc161e29ae29d4a264167207bb64f8c9f391755db510c4a9e3a1716d5c8f6d [INFO] running `Command { std: "docker" "start" "-a" "a1fc161e29ae29d4a264167207bb64f8c9f391755db510c4a9e3a1716d5c8f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1fc161e29ae29d4a264167207bb64f8c9f391755db510c4a9e3a1716d5c8f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fc161e29ae29d4a264167207bb64f8c9f391755db510c4a9e3a1716d5c8f6d", kill_on_drop: false }` [INFO] [stdout] a1fc161e29ae29d4a264167207bb64f8c9f391755db510c4a9e3a1716d5c8f6d [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] 213956b97fbf4289688d3e37b7d03982ef24ae0dd24d6d3fbe5832c43f839257 [INFO] running `Command { std: "docker" "start" "-a" "213956b97fbf4289688d3e37b7d03982ef24ae0dd24d6d3fbe5832c43f839257", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling time-macros v0.2.12 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking time v0.3.26 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking suffix v1.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking lru v0.11.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 (https://github.com/karin0/pretty-env-logger.git#34850940) [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking rustls-webpki v0.101.3 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking local-channel v0.1.3 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking actix-rt v2.8.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking actix-server v2.2.0 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking actix-codec v0.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.1 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking serde-aux v4.2.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking actix-http v3.3.1 [INFO] [stderr] Checking actix-web v4.3.1 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking pixiv v0.1.0 (/opt/rustwide/workdir/pixiv) [INFO] [stderr] Checking actix-cors v0.6.4 [INFO] [stderr] Checking actix-files v0.6.2 [INFO] [stderr] Checking pvg v0.1.0 (/opt/rustwide/workdir/pvg) [INFO] [stdout] error[E0597]: `src` does not live long enough [INFO] [stdout] --> pvg/src/main.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 38 | Some((src, path)) => match NamedFile::open_async(&path).await { [INFO] [stdout] | --- binding `src` declared here [INFO] [stdout] ... [INFO] [stdout] 44 | let resp = app.download(&src, path).await.map_err(mapper)?; [INFO] [stdout] | -------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `src` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 52 | }, [INFO] [stdout] | - `src` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `src` does not live long enough [INFO] [stdout] --> pvg/src/main.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 38 | Some((src, path)) => match NamedFile::open_async(&path).await { [INFO] [stdout] | --- binding `src` declared here [INFO] [stdout] ... [INFO] [stdout] 44 | let resp = app.download(&src, path).await.map_err(mapper)?; [INFO] [stdout] | -------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `src` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 52 | }, [INFO] [stdout] | - `src` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pvg` (bin "pvg" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pvg` (bin "pvg") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "213956b97fbf4289688d3e37b7d03982ef24ae0dd24d6d3fbe5832c43f839257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213956b97fbf4289688d3e37b7d03982ef24ae0dd24d6d3fbe5832c43f839257", kill_on_drop: false }` [INFO] [stdout] 213956b97fbf4289688d3e37b7d03982ef24ae0dd24d6d3fbe5832c43f839257