[INFO] cloning repository https://github.com/tpasternak/htail [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tpasternak/htail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpasternak%2Fhtail", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpasternak%2Fhtail'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c43f1f6b0e10865f1bcb65e340aeb4f10f34a71 [INFO] checking tpasternak/htail against master#339e19697a39a78f4d669c217b7d21109215de41 for pr-81213 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpasternak%2Fhtail" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tpasternak/htail on toolchain 339e19697a39a78f4d669c217b7d21109215de41 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tpasternak/htail [INFO] finished tweaking git repo https://github.com/tpasternak/htail [INFO] tweaked toml for git repo https://github.com/tpasternak/htail written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/tpasternak/htail already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21c7f2a880f05fdba5d9841b9a3f9e0eda0fbfca35707ab5d11febc13ad22eda [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" "21c7f2a880f05fdba5d9841b9a3f9e0eda0fbfca35707ab5d11febc13ad22eda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21c7f2a880f05fdba5d9841b9a3f9e0eda0fbfca35707ab5d11febc13ad22eda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c7f2a880f05fdba5d9841b9a3f9e0eda0fbfca35707ab5d11febc13ad22eda", kill_on_drop: false }` [INFO] [stdout] 21c7f2a880f05fdba5d9841b9a3f9e0eda0fbfca35707ab5d11febc13ad22eda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21b8eae30c082a5845be2284a704dd8c2646fe21d2346802cd26242da82bf159 [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" "21b8eae30c082a5845be2284a704dd8c2646fe21d2346802cd26242da82bf159", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking htail v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::server` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::server::*; [INFO] [stdout] | ^^^^^^ could not find `server` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | thread::spawn(move || Server::http("localhost:8080").unwrap().handle(http_callback)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/main.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let http_callback = move |_: Request, res: Response| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let http_callback = move |_: Request, res: Response| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if (n > 0) { [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `htail` [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `hyper::server` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::server::*; [INFO] [stdout] | ^^^^^^ could not find `server` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | thread::spawn(move || Server::http("localhost:8080").unwrap().handle(http_callback)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/main.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let http_callback = move |_: Request, res: Response| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let http_callback = move |_: Request, res: Response| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if (n > 0) { [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "21b8eae30c082a5845be2284a704dd8c2646fe21d2346802cd26242da82bf159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b8eae30c082a5845be2284a704dd8c2646fe21d2346802cd26242da82bf159", kill_on_drop: false }` [INFO] [stdout] 21b8eae30c082a5845be2284a704dd8c2646fe21d2346802cd26242da82bf159