[INFO] cloning repository https://github.com/TomShacham/http4r [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomShacham/http4r" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomShacham%2Fhttp4r", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomShacham%2Fhttp4r'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30ca979927f36575686f093116a3f469d91e8d39 [INFO] building TomShacham/http4r against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomShacham%2Fhttp4r" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/TomShacham/http4r [INFO] finished tweaking git repo https://github.com/TomShacham/http4r [INFO] tweaked toml for git repo https://github.com/TomShacham/http4r written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TomShacham/http4r on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TomShacham/http4r 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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] | [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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.132 [INFO] [stderr] Downloaded crc32fast v1.3.1 [INFO] [stderr] Downloaded serde_json v1.0.73 [INFO] [stderr] Downloaded syn v1.0.84 [INFO] [stderr] Downloaded libc v0.2.114 [INFO] [stderr] Downloaded brotli v3.3.3 [INFO] [stderr] Downloaded http4r-core v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d92603d2e92bf9093ecac40e87afc3adf1ad70c7b8dbd5d273aa6b7b8aa991f [INFO] running `Command { std: "docker" "start" "-a" "9d92603d2e92bf9093ecac40e87afc3adf1ad70c7b8dbd5d273aa6b7b8aa991f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d92603d2e92bf9093ecac40e87afc3adf1ad70c7b8dbd5d273aa6b7b8aa991f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d92603d2e92bf9093ecac40e87afc3adf1ad70c7b8dbd5d273aa6b7b8aa991f", kill_on_drop: false }` [INFO] [stdout] 9d92603d2e92bf9093ecac40e87afc3adf1ad70c7b8dbd5d273aa6b7b8aa991f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b818b5c7b2b70577745eef8b7a4e8953a617ecbace662bdbb8df766dec9abaef [INFO] running `Command { std: "docker" "start" "-a" "b818b5c7b2b70577745eef8b7a4e8953a617ecbace662bdbb8df766dec9abaef", 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] | [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.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling libc v0.2.114 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling http4r-core v0.0.6 (/opt/rustwide/workdir/http4r-core) [INFO] [stderr] Compiling http4r-core v0.0.6 [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> http4r-core/src/client.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | options: ClientOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headers_size` and `trailers_size` are never read [INFO] [stdout] --> http4r-core/src/client.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ClientOptions { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 70 | headers_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | trailers_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Multipart` is never constructed [INFO] [stdout] --> http4r-core/src/http_message.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 173 | enum ReadMetadata { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 174 | Chunked(ChunkedMetadata), [INFO] [stdout] 175 | Multipart(MultipartMetadata), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadMetadata` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> http4r-core/src/http_message.rs:130:44 [INFO] [stdout] | [INFO] [stdout] 130 | message(part1.to_string(), part2, part3.clone().to_string(), is_response, body, headers, trailers) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `(String, String)` instead of cloning the inner type [INFO] [stdout] --> http4r-core/src/query.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | q.clone().0 == p0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling http4r-example-app v0.0.0 (/opt/rustwide/workdir/http4r-example-app) [INFO] [stdout] error[E0382]: borrow of moved value: `req` [INFO] [stdout] --> http4r-example-app/src/app.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 59 | fn handle(&mut self, req: Request, fun: F) -> () where F: FnOnce(Response) -> () + Sized { [INFO] [stdout] | --- move occurs because `req` has type `http4r_core::http_message::Request<'_>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 62 | self.api.handle(req.with_uri(Uri::parse(req.uri.path.replace("/api/", "/").as_str())), fun) [INFO] [stdout] | --- value moved here ^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http4r-example-app` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b818b5c7b2b70577745eef8b7a4e8953a617ecbace662bdbb8df766dec9abaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b818b5c7b2b70577745eef8b7a4e8953a617ecbace662bdbb8df766dec9abaef", kill_on_drop: false }` [INFO] [stdout] b818b5c7b2b70577745eef8b7a4e8953a617ecbace662bdbb8df766dec9abaef