[INFO] cloning repository https://github.com/terassyi/rushttp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terassyi/rushttp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterassyi%2Frushttp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterassyi%2Frushttp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 349d157708f01c18b05da8b8ff993a9f7d2cefc2 [INFO] checking terassyi/rushttp against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterassyi%2Frushttp" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/terassyi/rushttp on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/terassyi/rushttp [INFO] finished tweaking git repo https://github.com/terassyi/rushttp [INFO] tweaked toml for git repo https://github.com/terassyi/rushttp written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/terassyi/rushttp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parse-zoneinfo v0.1.1 [INFO] [stderr] Downloaded chrono-tz v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0833fb8533acb79dc64381a0aadb2259277afdbf3a4686b84b8c67571ab764d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0833fb8533acb79dc64381a0aadb2259277afdbf3a4686b84b8c67571ab764d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0833fb8533acb79dc64381a0aadb2259277afdbf3a4686b84b8c67571ab764d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0833fb8533acb79dc64381a0aadb2259277afdbf3a4686b84b8c67571ab764d1", kill_on_drop: false }` [INFO] [stdout] 0833fb8533acb79dc64381a0aadb2259277afdbf3a4686b84b8c67571ab764d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a340bd3d2ffe5f7aafb7d6138591eab8c58bc5bd56f68822b67edeba42f2b9c4 [INFO] running `Command { std: "docker" "start" "-a" "a340bd3d2ffe5f7aafb7d6138591eab8c58bc5bd56f68822b67edeba42f2b9c4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] memchr v2.3.3 (as host dependency): use_std [INFO] [stderr] [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling syn v1.0.24 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Checking rushttp v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/http/error.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/server/context.rs (4 fixes) [INFO] [stderr] Fixed src/server/response.rs (1 fix) [INFO] [stderr] Fixed src/http/header.rs (1 fix) [INFO] [stderr] Fixed src/server/handler.rs (1 fix) [INFO] [stderr] Fixed src/server/mod.rs (11 fixes) [INFO] [stderr] Fixed src/http/parser.rs (11 fixes) [INFO] [stderr] Fixed src/uri/authority.rs (1 fix) [INFO] [stderr] Fixed src/http/request.rs (3 fixes) [INFO] [stderr] Fixed src/http/method.rs (1 fix) [INFO] [stderr] Fixed src/http/response.rs (2 fixes) [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HeaderName` in module `super` [INFO] [stdout] --> src/http/request.rs:208:31 [INFO] [stdout] | [INFO] [stdout] 208 | name: vec![super::HeaderName("test_header".to_string())], [INFO] [stdout] | ^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 192 | use crate::http::header::HeaderName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/http/request.rs (1 fix) [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rushttp` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/uri/uri.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | fn query(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 116 | self.query() [INFO] [stdout] | ------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/uri/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | inner: ErrorKind [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/http/header.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_header` [INFO] [stdout] --> src/http/response.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn push_header(self, key: &str, value: &str) -> Parts { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_path` [INFO] [stdout] --> src/server/resource.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_path(root: &str, path: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate` [INFO] [stdout] --> src/server/resource.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn validate(root: &str, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/server/resource.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn read(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec` [INFO] [stdout] --> src/server/handler.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is` [INFO] [stdout] --> src/server/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a340bd3d2ffe5f7aafb7d6138591eab8c58bc5bd56f68822b67edeba42f2b9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a340bd3d2ffe5f7aafb7d6138591eab8c58bc5bd56f68822b67edeba42f2b9c4", kill_on_drop: false }` [INFO] [stdout] a340bd3d2ffe5f7aafb7d6138591eab8c58bc5bd56f68822b67edeba42f2b9c4