[INFO] cloning repository https://github.com/JohnTheCoolingFan/factorio-data-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohnTheCoolingFan/factorio-data-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Ffactorio-data-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Ffactorio-data-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67e58258a4557bc5dbe9d92074f1ab98293991db [INFO] checking JohnTheCoolingFan/factorio-data-test against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Ffactorio-data-test" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JohnTheCoolingFan/factorio-data-test on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JohnTheCoolingFan/factorio-data-test [INFO] finished tweaking git repo https://github.com/JohnTheCoolingFan/factorio-data-test [INFO] tweaked toml for git repo https://github.com/JohnTheCoolingFan/factorio-data-test written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/JohnTheCoolingFan/factorio-data-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/JohnTheCoolingFan/factorio-hlua` [INFO] [stderr] Updating git submodule `https://github.com/Rseding91/Factorio-Lua` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v0.5.13 [INFO] [stderr] Downloaded bzip2 v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d91d5ca67f6f49556ad37fd455a00aa35249562f0661205e8e57e7a75b4c40e [INFO] running `Command { std: "docker" "start" "-a" "4d91d5ca67f6f49556ad37fd455a00aa35249562f0661205e8e57e7a75b4c40e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d91d5ca67f6f49556ad37fd455a00aa35249562f0661205e8e57e7a75b4c40e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d91d5ca67f6f49556ad37fd455a00aa35249562f0661205e8e57e7a75b4c40e", kill_on_drop: false }` [INFO] [stdout] 4d91d5ca67f6f49556ad37fd455a00aa35249562f0661205e8e57e7a75b4c40e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f824fa11344d04d1cde42d18de5af04358b91bc037facc79dea4847459bb360 [INFO] running `Command { std: "docker" "start" "-a" "7f824fa11344d04d1cde42d18de5af04358b91bc037facc79dea4847459bb360", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Checking any_ascii v0.1.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking lexical-sort v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lua52-sys v0.1.2 (https://github.com/JohnTheCoolingFan/factorio-hlua#25054ad1) [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking hlua v0.4.1 (https://github.com/JohnTheCoolingFan/factorio-hlua#25054ad1) [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking factorio-data-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/modloader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/modloader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/dependency.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | .intersperse(Ok(".".to_string())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/dependency.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | .intersperse(Ok(".".to_string())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modloader.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn load_lualib() -> Result<(), ModLoaderErr> { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ModLoaderErr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modloader.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn load_lualib() -> Result<(), ModLoaderErr> { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ModLoaderErr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `factorio-data-test` [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7f824fa11344d04d1cde42d18de5af04358b91bc037facc79dea4847459bb360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f824fa11344d04d1cde42d18de5af04358b91bc037facc79dea4847459bb360", kill_on_drop: false }` [INFO] [stdout] 7f824fa11344d04d1cde42d18de5af04358b91bc037facc79dea4847459bb360