[INFO] cloning repository https://github.com/ponchione/udemy_rust_applications [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ponchione/udemy_rust_applications" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponchione%2Fudemy_rust_applications", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponchione%2Fudemy_rust_applications'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c31511d8e5d276dd871f83884280f70ac8327a1 [INFO] checking ponchione/udemy_rust_applications against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponchione%2Fudemy_rust_applications" "/workspace/builds/worker-55/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-55/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ponchione/udemy_rust_applications 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/ponchione/udemy_rust_applications [INFO] finished tweaking git repo https://github.com/ponchione/udemy_rust_applications [INFO] tweaked toml for git repo https://github.com/ponchione/udemy_rust_applications written to /workspace/builds/worker-55/source/Cargo.toml [INFO] crate git repo https://github.com/ponchione/udemy_rust_applications 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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] aaea3a0ec592604fd4562817b6d1ad06fcc6ca95013f330f08a96943ea855b0b [INFO] running `Command { std: "docker" "start" "-a" "aaea3a0ec592604fd4562817b6d1ad06fcc6ca95013f330f08a96943ea855b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaea3a0ec592604fd4562817b6d1ad06fcc6ca95013f330f08a96943ea855b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaea3a0ec592604fd4562817b6d1ad06fcc6ca95013f330f08a96943ea855b0b", kill_on_drop: false }` [INFO] [stdout] aaea3a0ec592604fd4562817b6d1ad06fcc6ca95013f330f08a96943ea855b0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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] [stdout] 86d8dc77cc50603a332dd7c59f639079bdeea783b93bb91a8f58523b9aabea10 [INFO] running `Command { std: "docker" "start" "-a" "86d8dc77cc50603a332dd7c59f639079bdeea783b93bb91a8f58523b9aabea10", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking udemy_rust_applications v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: expected `;`, found `unimplemented` [INFO] [stdout] --> src/http/query.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | Query { data } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 43 | [INFO] [stdout] 44 | unimplemented!() [INFO] [stdout] | ------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> src/http/request.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test::NamePadding::PadOnRight; [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::num::dec2flt::parse::ParseResult` [INFO] [stdout] --> src/http/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::num::dec2flt::parse::ParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ParseResult` in `num::dec2flt::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `MethodError` [INFO] [stdout] --> src/http/method.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | _ => Err(MethodError) [INFO] [stdout] | ^^^^^^^^^^^ help: use struct literal syntax instead: `MethodError {}` [INFO] [stdout] ... [INFO] [stdout] 35 | / pub struct MethodError { [INFO] [stdout] 36 | | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- `MethodError` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ParseError` [INFO] [stdout] --> src/http/request.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | let method: Method = method.parse()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `ParseError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result, ParseError>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/query.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Query { data } [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `()`, found struct `Query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `udemy_rust_applications` due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected `;`, found `unimplemented` [INFO] [stdout] --> src/http/query.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | Query { data } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 43 | [INFO] [stdout] 44 | unimplemented!() [INFO] [stdout] | ------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> src/http/request.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test::NamePadding::PadOnRight; [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::num::dec2flt::parse::ParseResult` [INFO] [stdout] --> src/http/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::num::dec2flt::parse::ParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ParseResult` in `num::dec2flt::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `MethodError` [INFO] [stdout] --> src/http/method.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | _ => Err(MethodError) [INFO] [stdout] | ^^^^^^^^^^^ help: use struct literal syntax instead: `MethodError {}` [INFO] [stdout] ... [INFO] [stdout] 35 | / pub struct MethodError { [INFO] [stdout] 36 | | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- `MethodError` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ParseError` [INFO] [stdout] --> src/http/request.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | let method: Method = method.parse()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `ParseError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result, ParseError>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/query.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Query { data } [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `()`, found struct `Query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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" "86d8dc77cc50603a332dd7c59f639079bdeea783b93bb91a8f58523b9aabea10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d8dc77cc50603a332dd7c59f639079bdeea783b93bb91a8f58523b9aabea10", kill_on_drop: false }` [INFO] [stdout] 86d8dc77cc50603a332dd7c59f639079bdeea783b93bb91a8f58523b9aabea10