[INFO] fetching crate snap7-sys 0.1.5... [INFO] checking snap7-sys-0.1.5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate snap7-sys 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate snap7-sys 0.1.5 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snap7-sys 0.1.5 [INFO] finished tweaking crates.io crate snap7-sys 0.1.5 [INFO] tweaked toml for crates.io crate snap7-sys 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate snap7-sys 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f20d0074cb3fffbdd1aa9bd7db4f8b8c3d7354c06f12bce15a398bb8d2324be [INFO] running `Command { std: "docker" "start" "-a" "5f20d0074cb3fffbdd1aa9bd7db4f8b8c3d7354c06f12bce15a398bb8d2324be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f20d0074cb3fffbdd1aa9bd7db4f8b8c3d7354c06f12bce15a398bb8d2324be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f20d0074cb3fffbdd1aa9bd7db4f8b8c3d7354c06f12bce15a398bb8d2324be", kill_on_drop: false }` [INFO] [stdout] 5f20d0074cb3fffbdd1aa9bd7db4f8b8c3d7354c06f12bce15a398bb8d2324be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc7c5237ea245ab88d032a0d33a29b763c5dd27ad2c36f52c121ce4a4fd78aaf [INFO] running `Command { std: "docker" "start" "-a" "dc7c5237ea245ab88d032a0d33a29b763c5dd27ad2c36f52c121ce4a4fd78aaf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling snap7-sys v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cli_Create` in this scope [INFO] [stdout] --> examples/simple.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | handle: unsafe { Cli_Create() }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cli_ConnectTo` in this scope [INFO] [stdout] --> examples/simple.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Cli_ConnectTo(self.handle, CString::new("192.168.0.150").unwrap().as_ptr(), 0, 2); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cli_GetPduLength` in this scope [INFO] [stdout] --> examples/simple.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Cli_GetPduLength(self.handle, &mut req, &mut neg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cli_DBRead` in this scope [INFO] [stdout] --> examples/simple.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | res = Cli_DBRead( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cli_Disconnect` in this scope [INFO] [stdout] --> examples/simple.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Cli_Disconnect(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cli_Destroy` in this scope [INFO] [stdout] --> examples/simple.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Cli_Destroy(&mut self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cli_ErrorText` in this scope [INFO] [stdout] --> examples/simple.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | Cli_ErrorText(code as c_int, err.as_mut_ptr() as *mut c_char, err.len() as c_int); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snap7-sys` (example "simple") due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dc7c5237ea245ab88d032a0d33a29b763c5dd27ad2c36f52c121ce4a4fd78aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7c5237ea245ab88d032a0d33a29b763c5dd27ad2c36f52c121ce4a4fd78aaf", kill_on_drop: false }` [INFO] [stdout] dc7c5237ea245ab88d032a0d33a29b763c5dd27ad2c36f52c121ce4a4fd78aaf