[INFO] fetching crate confusion 0.0.1... [INFO] checking confusion-0.0.1 against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] extracting crate confusion 0.0.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate confusion 0.0.1 on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate confusion 0.0.1 [INFO] finished tweaking crates.io crate confusion 0.0.1 [INFO] tweaked toml for crates.io crate confusion 0.0.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (nickel) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64cb00e24e4683d7c634eeb93dbd27d327f228054012e8c9e1c7e4f0bdeadad9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "64cb00e24e4683d7c634eeb93dbd27d327f228054012e8c9e1c7e4f0bdeadad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64cb00e24e4683d7c634eeb93dbd27d327f228054012e8c9e1c7e4f0bdeadad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64cb00e24e4683d7c634eeb93dbd27d327f228054012e8c9e1c7e4f0bdeadad9", kill_on_drop: false }` [INFO] [stdout] 64cb00e24e4683d7c634eeb93dbd27d327f228054012e8c9e1c7e4f0bdeadad9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8242d0bd64d4960ec4e934d1d1f524ae80afe1bb3976cc0c1a0189112acf27a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a8242d0bd64d4960ec4e934d1d1f524ae80afe1bb3976cc0c1a0189112acf27a", kill_on_drop: false }` [INFO] [stderr] warning: dependency (nickel) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking confusion v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | server.get("/", middleware! { |_request, response| [INFO] [stdout] | ___________________^ [INFO] [stdout] 10 | | return response.send_file(&Path::new("frontend/setup.html")) [INFO] [stdout] | | ------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 11 | | }); [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:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | server.get("/", middleware! { |_request, response| [INFO] [stdout] | ___________________^ [INFO] [stdout] 10 | | return response.send_file(&Path::new("frontend/setup.html")) [INFO] [stdout] | | ------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 11 | | }); [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] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 13 | server.listen("127.0.0.1:3000") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result>` [INFO] [stdout] [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `confusion` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 13 | server.listen("127.0.0.1:3000") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result>` [INFO] [stdout] [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a8242d0bd64d4960ec4e934d1d1f524ae80afe1bb3976cc0c1a0189112acf27a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8242d0bd64d4960ec4e934d1d1f524ae80afe1bb3976cc0c1a0189112acf27a", kill_on_drop: false }` [INFO] [stdout] a8242d0bd64d4960ec4e934d1d1f524ae80afe1bb3976cc0c1a0189112acf27a