[INFO] cloning repository https://github.com/ismaelpamplona/http_rust_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ismaelpamplona/http_rust_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismaelpamplona%2Fhttp_rust_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismaelpamplona%2Fhttp_rust_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7231a0c219bd5c35d8939ac1cc6d4d27515b246c [INFO] building ismaelpamplona/http_rust_server against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismaelpamplona%2Fhttp_rust_server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ismaelpamplona/http_rust_server [INFO] finished tweaking git repo https://github.com/ismaelpamplona/http_rust_server [INFO] tweaked toml for git repo https://github.com/ismaelpamplona/http_rust_server written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ismaelpamplona/http_rust_server 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/ismaelpamplona/http_rust_server 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4e82d9ff5b5d5c90bdf73bdc8fcf9c7d9208b7a5f46a042cc5f5c893b9e9f1e1 [INFO] running `Command { std: "docker" "start" "-a" "4e82d9ff5b5d5c90bdf73bdc8fcf9c7d9208b7a5f46a042cc5f5c893b9e9f1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e82d9ff5b5d5c90bdf73bdc8fcf9c7d9208b7a5f46a042cc5f5c893b9e9f1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e82d9ff5b5d5c90bdf73bdc8fcf9c7d9208b7a5f46a042cc5f5c893b9e9f1e1", kill_on_drop: false }` [INFO] [stdout] 4e82d9ff5b5d5c90bdf73bdc8fcf9c7d9208b7a5f46a042cc5f5c893b9e9f1e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 46cd76ce25d64a7bb4c4be23016aeeef71f64c1c52a36c54e97963897ad0f6a5 [INFO] running `Command { std: "docker" "start" "-a" "46cd76ce25d64a7bb4c4be23016aeeef71f64c1c52a36c54e97963897ad0f6a5", kill_on_drop: false }` [INFO] [stderr] Compiling http_rust_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/server.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | Ok((mut stream, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, Value<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 15 | pub fn get(&self, k: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query_string` is never read [INFO] [stdout] --> src/http/request.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Request<'buf> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 19 | path: &'buf str, [INFO] [stdout] 20 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_string` is never used [INFO] [stdout] --> src/http/request.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/query_string.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, k: &str) -> Option<&Value> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, k: &str) -> Option<&Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn query_string(&self) -> Option<&QueryString<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "46cd76ce25d64a7bb4c4be23016aeeef71f64c1c52a36c54e97963897ad0f6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46cd76ce25d64a7bb4c4be23016aeeef71f64c1c52a36c54e97963897ad0f6a5", kill_on_drop: false }` [INFO] [stdout] 46cd76ce25d64a7bb4c4be23016aeeef71f64c1c52a36c54e97963897ad0f6a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a0d4604de2ace466eda16c4ee4f7158c9f33569ad3bc8cc2a7bd9c985ee74999 [INFO] running `Command { std: "docker" "start" "-a" "a0d4604de2ace466eda16c4ee4f7158c9f33569ad3bc8cc2a7bd9c985ee74999", kill_on_drop: false }` [INFO] [stderr] Compiling http_rust_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/server.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | Ok((mut stream, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, Value<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 15 | pub fn get(&self, k: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query_string` is never read [INFO] [stdout] --> src/http/request.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Request<'buf> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 19 | path: &'buf str, [INFO] [stdout] 20 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_string` is never used [INFO] [stdout] --> src/http/request.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/query_string.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, k: &str) -> Option<&Value> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, k: &str) -> Option<&Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn query_string(&self) -> Option<&QueryString<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "a0d4604de2ace466eda16c4ee4f7158c9f33569ad3bc8cc2a7bd9c985ee74999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d4604de2ace466eda16c4ee4f7158c9f33569ad3bc8cc2a7bd9c985ee74999", kill_on_drop: false }` [INFO] [stdout] a0d4604de2ace466eda16c4ee4f7158c9f33569ad3bc8cc2a7bd9c985ee74999