[INFO] cloning repository https://github.com/pwoolcoc/nickel-error-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pwoolcoc/nickel-error-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpwoolcoc%2Fnickel-error-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpwoolcoc%2Fnickel-error-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 873c5140a67ab90f246aee93453c96eb4649964d [INFO] checking pwoolcoc/nickel-error-example against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpwoolcoc%2Fnickel-error-example" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pwoolcoc/nickel-error-example on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pwoolcoc/nickel-error-example [INFO] finished tweaking git repo https://github.com/pwoolcoc/nickel-error-example [INFO] tweaked toml for git repo https://github.com/pwoolcoc/nickel-error-example written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/pwoolcoc/nickel-error-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7eec24300f75d650e74d5efeb4c46ca018683ffe7c442ca0bcbaa3280fcf6b9 [INFO] running `Command { std: "docker" "start" "-a" "f7eec24300f75d650e74d5efeb4c46ca018683ffe7c442ca0bcbaa3280fcf6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7eec24300f75d650e74d5efeb4c46ca018683ffe7c442ca0bcbaa3280fcf6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7eec24300f75d650e74d5efeb4c46ca018683ffe7c442ca0bcbaa3280fcf6b9", kill_on_drop: false }` [INFO] [stdout] f7eec24300f75d650e74d5efeb4c46ca018683ffe7c442ca0bcbaa3280fcf6b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a629b6e1aa28acfd43eff656e3e1880fcfb1d394acd33570bab8ff4317af7be7 [INFO] running `Command { std: "docker" "start" "-a" "a629b6e1aa28acfd43eff656e3e1880fcfb1d394acd33570bab8ff4317af7be7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking nickel-error-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | / middleware! { |_, res| [INFO] [stdout] 13 | | return res.send("foo") [INFO] [stdout] | | ---------------------- any code following this expression is unreachable [INFO] [stdout] 14 | | }); [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | / middleware! { |_, res| [INFO] [stdout] 13 | | return res.send("foo") [INFO] [stdout] | | ---------------------- any code following this expression is unreachable [INFO] [stdout] 14 | | }); [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nickel-error-test` [INFO] [stdout] error[E0277]: the trait bound `!: Responder` is not satisfied [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | / middleware! { |_, res| [INFO] [stdout] 13 | | return res.send("foo") [INFO] [stdout] 14 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `Responder` is not implemented for `!` [INFO] [stdout] | required by this bound in `restrict` [INFO] [stdout] | [INFO] [stdout] = note: the trait is implemented for `()`. Possibly this error has been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information). Consider whether you meant to use the type `()` here instead. [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0277]: the trait bound `!: Responder` is not satisfied [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | / middleware! { |_, res| [INFO] [stdout] 13 | | return res.send("foo") [INFO] [stdout] 14 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `Responder` is not implemented for `!` [INFO] [stdout] | required by this bound in `restrict` [INFO] [stdout] | [INFO] [stdout] = note: the trait is implemented for `()`. Possibly this error has been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information). Consider whether you meant to use the type `()` here instead. [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a629b6e1aa28acfd43eff656e3e1880fcfb1d394acd33570bab8ff4317af7be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a629b6e1aa28acfd43eff656e3e1880fcfb1d394acd33570bab8ff4317af7be7", kill_on_drop: false }` [INFO] [stdout] a629b6e1aa28acfd43eff656e3e1880fcfb1d394acd33570bab8ff4317af7be7