[INFO] updating cached repository https://github.com/brakmic/nickel-demo [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] a4ee22bce8f10c2690b561232f293455861975bf [INFO] testing brakmic/nickel-demo against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrakmic%2Fnickel-demo" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brakmic/nickel-demo 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/brakmic/nickel-demo [INFO] finished tweaking git repo https://github.com/brakmic/nickel-demo [INFO] tweaked toml for git repo https://github.com/brakmic/nickel-demo written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/brakmic/nickel-demo 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-1/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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ab63d4c275d0c2ff5d66da7b728e26d6d279b47391b1f33453ab793c2f0f078 [INFO] running `"docker" "start" "-a" "0ab63d4c275d0c2ff5d66da7b728e26d6d279b47391b1f33453ab793c2f0f078"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling nickel-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Location` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use hyper::header::Location; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Location` in `header` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | server.utilize(router!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 26 | | get "/" => |req, res| { [INFO] [stderr] 27 | | let mut data = HashMap::<&str, &str>::new(); [INFO] [stderr] 28 | | data.insert("name", "Rustaceans"); [INFO] [stderr] 29 | | return res.render("src/templates/simplemain.tpl", &data); [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | )); [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nickel-0.11.0/src/macros/middleware.rs:117:41 [INFO] [stderr] | [INFO] [stderr] 117 | macro_rules! as_block { ($b:block) => ( $b ) } [INFO] [stderr] | -- any code following this expression is unreachable [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `nickel-demo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0ab63d4c275d0c2ff5d66da7b728e26d6d279b47391b1f33453ab793c2f0f078"` [INFO] running `"docker" "rm" "-f" "0ab63d4c275d0c2ff5d66da7b728e26d6d279b47391b1f33453ab793c2f0f078"` [INFO] [stdout] 0ab63d4c275d0c2ff5d66da7b728e26d6d279b47391b1f33453ab793c2f0f078