[INFO] fetching crate snap7-sys 0.1.4... [INFO] checking snap7-sys-0.1.4 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate snap7-sys 0.1.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate snap7-sys 0.1.4 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate snap7-sys 0.1.4 [INFO] finished tweaking crates.io crate snap7-sys 0.1.4 [INFO] tweaked toml for crates.io crate snap7-sys 0.1.4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate snap7-sys 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30d95dd3161aff876fcdf188bc6c370cabba978a82b3da7e8b153d21eba01ad1 [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" "30d95dd3161aff876fcdf188bc6c370cabba978a82b3da7e8b153d21eba01ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30d95dd3161aff876fcdf188bc6c370cabba978a82b3da7e8b153d21eba01ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d95dd3161aff876fcdf188bc6c370cabba978a82b3da7e8b153d21eba01ad1", kill_on_drop: false }` [INFO] [stdout] 30d95dd3161aff876fcdf188bc6c370cabba978a82b3da7e8b153d21eba01ad1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6ee88cb289026a9f84807a9eaa7e2ebfd55d4f2bd57a3dd30a90331c15a7e76 [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" "f6ee88cb289026a9f84807a9eaa7e2ebfd55d4f2bd57a3dd30a90331c15a7e76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.0.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling snap7-sys v0.1.4 (/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] warning: struct is never constructed: `CtlRecord` [INFO] [stdout] --> examples/simple.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct CtlRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> examples/simple.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | Cli_ConnectTo(self.handle, CString::new("192.168.0.150").unwrap().as_ptr(), 0, 2); [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.57s [INFO] running `Command { std: "docker" "inspect" "f6ee88cb289026a9f84807a9eaa7e2ebfd55d4f2bd57a3dd30a90331c15a7e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ee88cb289026a9f84807a9eaa7e2ebfd55d4f2bd57a3dd30a90331c15a7e76", kill_on_drop: false }` [INFO] [stdout] f6ee88cb289026a9f84807a9eaa7e2ebfd55d4f2bd57a3dd30a90331c15a7e76