[INFO] fetching crate hlua-badtouch 0.4.2... [INFO] checking hlua-badtouch-0.4.2 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate hlua-badtouch 0.4.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate hlua-badtouch 0.4.2 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hlua-badtouch 0.4.2 [INFO] finished tweaking crates.io crate hlua-badtouch 0.4.2 [INFO] tweaked toml for crates.io crate hlua-badtouch 0.4.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lua52-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7de19fc89d222e24d04d7aa1a0b62a1ee34712979df3574c8c0f35bc54ae1d67 [INFO] running `Command { std: "docker" "start" "-a" "7de19fc89d222e24d04d7aa1a0b62a1ee34712979df3574c8c0f35bc54ae1d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7de19fc89d222e24d04d7aa1a0b62a1ee34712979df3574c8c0f35bc54ae1d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de19fc89d222e24d04d7aa1a0b62a1ee34712979df3574c8c0f35bc54ae1d67", kill_on_drop: false }` [INFO] [stdout] 7de19fc89d222e24d04d7aa1a0b62a1ee34712979df3574c8c0f35bc54ae1d67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f75e88a44fc8e29e6b98cf0eb5c41fb0ef8f4c59d32bf88106382ea526f6893 [INFO] running `Command { std: "docker" "start" "-a" "1f75e88a44fc8e29e6b98cf0eb5c41fb0ef8f4c59d32bf88106382ea526f6893", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling lua52-sys v0.1.3 [INFO] [stderr] Checking hlua-badtouch v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:562:18 [INFO] [stdout] | [INFO] [stdout] 562 | unsafe { ffi::luaopen_base(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 562 | unsafe { ffi::luaopen_base(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 561 | pub fn open_base(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:570:18 [INFO] [stdout] | [INFO] [stdout] 570 | unsafe { ffi::luaopen_bit32(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 570 | unsafe { ffi::luaopen_bit32(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 569 | pub fn open_bit32(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | unsafe { ffi::luaopen_coroutine(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 578 | unsafe { ffi::luaopen_coroutine(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 577 | pub fn open_coroutine(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 586 | unsafe { ffi::luaopen_debug(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 586 | unsafe { ffi::luaopen_debug(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 585 | pub fn open_debug(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:594:18 [INFO] [stdout] | [INFO] [stdout] 594 | unsafe { ffi::luaopen_io(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 594 | unsafe { ffi::luaopen_io(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 593 | pub fn open_io(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:602:18 [INFO] [stdout] | [INFO] [stdout] 602 | unsafe { ffi::luaopen_math(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 602 | unsafe { ffi::luaopen_math(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 601 | pub fn open_math(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:610:18 [INFO] [stdout] | [INFO] [stdout] 610 | unsafe { ffi::luaopen_os(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 610 | unsafe { ffi::luaopen_os(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 609 | pub fn open_os(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | unsafe { ffi::luaopen_package(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 618 | unsafe { ffi::luaopen_package(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 617 | pub fn open_package(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:626:18 [INFO] [stdout] | [INFO] [stdout] 626 | unsafe { ffi::luaopen_string(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 626 | unsafe { ffi::luaopen_string(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 625 | pub fn open_string(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:634:18 [INFO] [stdout] | [INFO] [stdout] 634 | unsafe { ffi::luaopen_table(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 634 | unsafe { ffi::luaopen_table(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 633 | pub fn open_table(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:562:18 [INFO] [stdout] | [INFO] [stdout] 562 | unsafe { ffi::luaopen_base(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 562 | unsafe { ffi::luaopen_base(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 561 | pub fn open_base(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:570:18 [INFO] [stdout] | [INFO] [stdout] 570 | unsafe { ffi::luaopen_bit32(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 570 | unsafe { ffi::luaopen_bit32(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 569 | pub fn open_bit32(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | unsafe { ffi::luaopen_coroutine(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 578 | unsafe { ffi::luaopen_coroutine(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 577 | pub fn open_coroutine(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 586 | unsafe { ffi::luaopen_debug(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 586 | unsafe { ffi::luaopen_debug(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 585 | pub fn open_debug(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:594:18 [INFO] [stdout] | [INFO] [stdout] 594 | unsafe { ffi::luaopen_io(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 594 | unsafe { ffi::luaopen_io(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 593 | pub fn open_io(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:602:18 [INFO] [stdout] | [INFO] [stdout] 602 | unsafe { ffi::luaopen_math(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 602 | unsafe { ffi::luaopen_math(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 601 | pub fn open_math(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:610:18 [INFO] [stdout] | [INFO] [stdout] 610 | unsafe { ffi::luaopen_os(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 610 | unsafe { ffi::luaopen_os(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 609 | pub fn open_os(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | unsafe { ffi::luaopen_package(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 618 | unsafe { ffi::luaopen_package(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 617 | pub fn open_package(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:626:18 [INFO] [stdout] | [INFO] [stdout] 626 | unsafe { ffi::luaopen_string(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 626 | unsafe { ffi::luaopen_string(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 625 | pub fn open_string(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:634:18 [INFO] [stdout] | [INFO] [stdout] 634 | unsafe { ffi::luaopen_table(self.lua.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 634 | unsafe { ffi::luaopen_table(self.lua.0); } [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 633 | pub fn open_table(&mut self) -> i32 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hlua-badtouch` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hlua-badtouch` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "1f75e88a44fc8e29e6b98cf0eb5c41fb0ef8f4c59d32bf88106382ea526f6893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f75e88a44fc8e29e6b98cf0eb5c41fb0ef8f4c59d32bf88106382ea526f6893", kill_on_drop: false }` [INFO] [stdout] 1f75e88a44fc8e29e6b98cf0eb5c41fb0ef8f4c59d32bf88106382ea526f6893