[INFO] cloning repository https://github.com/tsturzenegger/rhttpfile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsturzenegger/rhttpfile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsturzenegger%2Frhttpfile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsturzenegger%2Frhttpfile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 828b2f91860b8458b7f3162c18ddc5f0b3994991 [INFO] checking tsturzenegger/rhttpfile against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsturzenegger%2Frhttpfile" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tsturzenegger/rhttpfile on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tsturzenegger/rhttpfile [INFO] finished tweaking git repo https://github.com/tsturzenegger/rhttpfile [INFO] tweaked toml for git repo https://github.com/tsturzenegger/rhttpfile written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tsturzenegger/rhttpfile 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37ae2e338db6112e783aa6918c710bca84664c39d615d7de9edd7df2cd8b2c5e [INFO] running `Command { std: "docker" "start" "-a" "37ae2e338db6112e783aa6918c710bca84664c39d615d7de9edd7df2cd8b2c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37ae2e338db6112e783aa6918c710bca84664c39d615d7de9edd7df2cd8b2c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ae2e338db6112e783aa6918c710bca84664c39d615d7de9edd7df2cd8b2c5e", kill_on_drop: false }` [INFO] [stdout] 37ae2e338db6112e783aa6918c710bca84664c39d615d7de9edd7df2cd8b2c5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b54704b0c31b822d6b105980e0792bffd2eb4f8d1758fbdd6306c5f79d77d124 [INFO] running `Command { std: "docker" "start" "-a" "b54704b0c31b822d6b105980e0792bffd2eb4f8d1758fbdd6306c5f79d77d124", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rcgen v0.13.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rhttpfile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 94 | response.set_raw_header(CONTENT_TYPE.as_str(), content_type); [INFO] [stdout] | ------------ temporary value created here [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 95 | response.set_raw_header(CONTENT_DISPOSITION.as_str(), content_disposition); [INFO] [stdout] | ------------------- temporary value created here [INFO] [stdout] 96 | [INFO] [stdout] 97 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 94 | response.set_raw_header(CONTENT_TYPE.as_str(), content_type); [INFO] [stdout] | ------------ temporary value created here [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 95 | response.set_raw_header(CONTENT_DISPOSITION.as_str(), content_disposition); [INFO] [stdout] | ------------------- temporary value created here [INFO] [stdout] 96 | [INFO] [stdout] 97 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rhttpfile` (bin "rhttpfile") due to 2 previous errors [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] [stderr] error: could not compile `rhttpfile` (bin "rhttpfile" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b54704b0c31b822d6b105980e0792bffd2eb4f8d1758fbdd6306c5f79d77d124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54704b0c31b822d6b105980e0792bffd2eb4f8d1758fbdd6306c5f79d77d124", kill_on_drop: false }` [INFO] [stdout] b54704b0c31b822d6b105980e0792bffd2eb4f8d1758fbdd6306c5f79d77d124