[INFO] cloning repository https://github.com/vlad-onis/turbine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vlad-onis/turbine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvlad-onis%2Fturbine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvlad-onis%2Fturbine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67fc96fd5c0589d86176cfe29999f9dcf6422650 [INFO] testing vlad-onis/turbine against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvlad-onis%2Fturbine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vlad-onis/turbine [INFO] finished tweaking git repo https://github.com/vlad-onis/turbine [INFO] tweaked toml for git repo https://github.com/vlad-onis/turbine written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vlad-onis/turbine on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vlad-onis/turbine 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20959fa77e49841d49df0c581a479bd9f0dc1413b76716013d97a9227da37300 [INFO] running `Command { std: "docker" "start" "-a" "20959fa77e49841d49df0c581a479bd9f0dc1413b76716013d97a9227da37300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20959fa77e49841d49df0c581a479bd9f0dc1413b76716013d97a9227da37300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20959fa77e49841d49df0c581a479bd9f0dc1413b76716013d97a9227da37300", kill_on_drop: false }` [INFO] [stdout] 20959fa77e49841d49df0c581a479bd9f0dc1413b76716013d97a9227da37300 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7e6836fc6a7c3c09581e6094924ed1eddcbce1ca92699ec395e8afc45c0bb7d [INFO] running `Command { std: "docker" "start" "-a" "c7e6836fc6a7c3c09581e6094924ed1eddcbce1ca92699ec395e8afc45c0bb7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.4 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling turbine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `method`, `version`, and `other_headers` are never read [INFO] [stdout] --> src/http.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Headers { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 41 | pub method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub resource: String, [INFO] [stdout] 43 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub other_headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Headers` 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: field `body` is never read [INFO] [stdout] --> src/http.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 81 | pub headers: Headers, [INFO] [stdout] 82 | pub body: Vec, [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.10s [INFO] running `Command { std: "docker" "inspect" "c7e6836fc6a7c3c09581e6094924ed1eddcbce1ca92699ec395e8afc45c0bb7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e6836fc6a7c3c09581e6094924ed1eddcbce1ca92699ec395e8afc45c0bb7d", kill_on_drop: false }` [INFO] [stdout] c7e6836fc6a7c3c09581e6094924ed1eddcbce1ca92699ec395e8afc45c0bb7d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03308a6b2bad7c3d529e4c4abe3795592d1e4a63586f2d224e6e24e08818cdc2 [INFO] running `Command { std: "docker" "start" "-a" "03308a6b2bad7c3d529e4c4abe3795592d1e4a63586f2d224e6e24e08818cdc2", kill_on_drop: false }` [INFO] [stderr] Compiling turbine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/server.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | Path::new(document_root.join("index.html").to_str().unwrap()) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 134 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/server.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Path::new(document_root.join("index.html").to_str().unwrap()) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 134 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/server.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | Path::new(document_root.join("foo/index.html").to_str().unwrap()) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 134 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/server.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | Path::new(document_root.join("foo/index.html").to_str().unwrap()) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 134 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/server.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | Path::new(document_root.join("foo/bar/index.html").to_str().unwrap()) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 134 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/server.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | let path = HttpPath::try_from("/index.html".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | let path = HttpPath::try_from("/".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let path = HttpPath::try_from("/foo".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | let path = HttpPath::try_from("/foo/".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | let path = HttpPath::try_from("/foo/bar".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:194:20 [INFO] [stdout] | [INFO] [stdout] 194 | let path = HttpPath::try_from("".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | let path = HttpPath::try_from("../index.html".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | let path = HttpPath::try_from("/../index.html".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: TryFrom` is not satisfied [INFO] [stdout] --> src/server.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | let path = HttpPath::try_from("foo".to_string()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::HttpPath: From` is not satisfied [INFO] [stdout] --> src/server.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | let path = HttpPath::try_from("/index.html".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `http::HttpPath` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `std::string::String` [INFO] [stdout] = note: required for `std::string::String` to implement `Into` [INFO] [stdout] = note: required for `http::HttpPath` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbine` (bin "turbine" test) due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "03308a6b2bad7c3d529e4c4abe3795592d1e4a63586f2d224e6e24e08818cdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03308a6b2bad7c3d529e4c4abe3795592d1e4a63586f2d224e6e24e08818cdc2", kill_on_drop: false }` [INFO] [stdout] 03308a6b2bad7c3d529e4c4abe3795592d1e4a63586f2d224e6e24e08818cdc2