[INFO] updating cached repository https://github.com/colindjk/hello_rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3bbe9d5da2e6d4827f93422f01a6eb880837c105 [INFO] checking colindjk/hello_rust against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolindjk%2Fhello_rust" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colindjk/hello_rust on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/colindjk/hello_rust [INFO] finished tweaking git repo https://github.com/colindjk/hello_rust [INFO] tweaked toml for git repo https://github.com/colindjk/hello_rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/colindjk/hello_rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 604a5b4b533fab079ba21c33c4e7d95b2b81071604824b7913b19cccc20845e7 [INFO] running `"docker" "start" "-a" "604a5b4b533fab079ba21c33c4e7d95b2b81071604824b7913b19cccc20845e7"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hello_world v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Request` [INFO] [stderr] --> src/server.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use hyper::server::Request; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Request` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Response` [INFO] [stderr] --> src/server.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use hyper::server::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Response` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stderr] --> src/client.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `http` found for type `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/server.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | Server::http("127.0.0.1:3000") [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Request` [INFO] [stderr] --> src/server.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use hyper::server::Request; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Request` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Response` [INFO] [stderr] --> src/server.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use hyper::server::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Response` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stderr] --> src/client.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/client.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | let mut res = client.get("localhost:3000") [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `hyper::Uri`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `hyper::Uri` [INFO] [stderr] found type `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `header` found for type `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/client.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | .header( Connection::close() ) // Create header [INFO] [stderr] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/client.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `hello_world`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `http` found for type `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/server.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | Server::http("127.0.0.1:3000") [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/client.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | let mut res = client.get("localhost:3000") [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `hyper::Uri`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `hyper::Uri` [INFO] [stderr] found type `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `header` found for type `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/client.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | .header( Connection::close() ) // Create header [INFO] [stderr] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/client.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `hello_world`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "604a5b4b533fab079ba21c33c4e7d95b2b81071604824b7913b19cccc20845e7"` [INFO] running `"docker" "rm" "-f" "604a5b4b533fab079ba21c33c4e7d95b2b81071604824b7913b19cccc20845e7"` [INFO] [stdout] 604a5b4b533fab079ba21c33c4e7d95b2b81071604824b7913b19cccc20845e7