[INFO] cloning repository https://github.com/brakmic/nickel-demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brakmic/nickel-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrakmic%2Fnickel-demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrakmic%2Fnickel-demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a4ee22bce8f10c2690b561232f293455861975bf [INFO] checking brakmic/nickel-demo against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrakmic%2Fnickel-demo" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brakmic/nickel-demo 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/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-6/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] f6bb136129d742efe979ffa0bfc25674a43325158f7a1002b858e2ac953ae169 [INFO] running `"docker" "start" "-a" "f6bb136129d742efe979ffa0bfc25674a43325158f7a1002b858e2ac953ae169"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking 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] 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] ::: <::nickel::macros::middleware::as_block macros>:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | ($ 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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `nickel-demo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] ::: <::nickel::macros::middleware::as_block macros>:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | ($ 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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [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" "f6bb136129d742efe979ffa0bfc25674a43325158f7a1002b858e2ac953ae169"` [INFO] running `"docker" "rm" "-f" "f6bb136129d742efe979ffa0bfc25674a43325158f7a1002b858e2ac953ae169"` [INFO] [stdout] f6bb136129d742efe979ffa0bfc25674a43325158f7a1002b858e2ac953ae169