[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponchione%2Fudemy_rust_applications" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ponchione/udemy_rust_applications on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f728359bafb37e35c82f0ae5c9e02aed7dce9e6f285b4e0a74194f26f0f92831 [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" "f728359bafb37e35c82f0ae5c9e02aed7dce9e6f285b4e0a74194f26f0f92831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f728359bafb37e35c82f0ae5c9e02aed7dce9e6f285b4e0a74194f26f0f92831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f728359bafb37e35c82f0ae5c9e02aed7dce9e6f285b4e0a74194f26f0f92831", kill_on_drop: false }` [INFO] [stdout] f728359bafb37e35c82f0ae5c9e02aed7dce9e6f285b4e0a74194f26f0f92831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d46ccd646c96868eb582aa3a355a04f38f5ebf5af3e16b72fa0403f6518c79fd [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" "d46ccd646c96868eb582aa3a355a04f38f5ebf5af3e16b72fa0403f6518c79fd", kill_on_drop: false }` [INFO] [stderr] Checking udemy_rust_applications v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `unimplemented` [INFO] [stdout] --> src/http/query.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | Query { data } [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 43 | [INFO] [stdout] 44 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `unimplemented` [INFO] [stdout] --> src/http/query.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | Query { data } [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [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[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[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] warning: unused 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'dec2flt': internal routines only exposed for testing [INFO] [stdout] --> src/http/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::num::dec2flt::parse::ParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(dec2flt)]` to the crate attributes to enable [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] warning: unused 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'dec2flt': internal routines only exposed for testing [INFO] [stdout] --> src/http/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::num::dec2flt::parse::ParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(dec2flt)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `request::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 `request::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 by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `request::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 `request::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 by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0433, E0658. [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d46ccd646c96868eb582aa3a355a04f38f5ebf5af3e16b72fa0403f6518c79fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46ccd646c96868eb582aa3a355a04f38f5ebf5af3e16b72fa0403f6518c79fd", kill_on_drop: false }` [INFO] [stdout] d46ccd646c96868eb582aa3a355a04f38f5ebf5af3e16b72fa0403f6518c79fd