[INFO] updating cached repository https://github.com/tpasternak/htail [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] 2c43f1f6b0e10865f1bcb65e340aeb4f10f34a71 [INFO] testing tpasternak/htail against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpasternak%2Fhtail" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tpasternak/htail on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/tpasternak/htail already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 5689da3d8c1e78e147d01b0d4008e6617c29116da7ae131f54e10ecd616d60e6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "5689da3d8c1e78e147d01b0d4008e6617c29116da7ae131f54e10ecd616d60e6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling htail v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0412]: cannot find type `Request` in this scope [INFO] [stderr] --> src/main.rs:37:34 [INFO] [stderr] | [INFO] [stderr] 37 | let http_callback = move |_: Request, res: Response| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::Request; [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::http::Request; [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::http::request::Request; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Response` in this scope [INFO] [stderr] --> src/main.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 37 | let http_callback = move |_: Request, res: Response| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::Response; [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::http::Response; [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::http::response::Response; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | if (n > 0) { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/main.rs:43:35 [INFO] [stderr] | [INFO] [stderr] 43 | thread::spawn(move || Server::http("localhost:8080").unwrap().handle(http_callback)); [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `htail`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5689da3d8c1e78e147d01b0d4008e6617c29116da7ae131f54e10ecd616d60e6"` [INFO] running `"docker" "rm" "-f" "5689da3d8c1e78e147d01b0d4008e6617c29116da7ae131f54e10ecd616d60e6"` [INFO] [stdout] 5689da3d8c1e78e147d01b0d4008e6617c29116da7ae131f54e10ecd616d60e6