[INFO] cloning repository https://github.com/ohjames/lovely_touching [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ohjames/lovely_touching" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohjames%2Flovely_touching", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohjames%2Flovely_touching'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fefeae95280675895c6c157eb2da4cb07962943 [INFO] checking ohjames/lovely_touching against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohjames%2Flovely_touching" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ohjames/lovely_touching 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 git repo https://github.com/ohjames/lovely_touching [INFO] finished tweaking git repo https://github.com/ohjames/lovely_touching [INFO] tweaked toml for git repo https://github.com/ohjames/lovely_touching written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ohjames/lovely_touching 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] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24e94d2c9943a2c08584248b45f81eedd32804167c0299b5ebcc862183376daf [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" "24e94d2c9943a2c08584248b45f81eedd32804167c0299b5ebcc862183376daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24e94d2c9943a2c08584248b45f81eedd32804167c0299b5ebcc862183376daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e94d2c9943a2c08584248b45f81eedd32804167c0299b5ebcc862183376daf", kill_on_drop: false }` [INFO] [stdout] 24e94d2c9943a2c08584248b45f81eedd32804167c0299b5ebcc862183376daf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58dc0399b98457f291f087e949ae65c903ac935b95bab1b4f8b97c102f4dec7f [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" "58dc0399b98457f291f087e949ae65c903ac935b95bab1b4f8b97c102f4dec7f", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking lovely_touching v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags!( [INFO] [stdout] 22 | | #[repr(C)] [INFO] [stdout] 23 | | flags SockFlag: libc::c_ulong { [INFO] [stdout] 24 | | const SA_NOCLDSTOP = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags!( [INFO] [stdout] 22 | | #[repr(C)] [INFO] [stdout] 23 | | flags SockFlag: libc::c_ulong { [INFO] [stdout] 24 | | const SA_NOCLDSTOP = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags!( [INFO] [stdout] 22 | | #[repr(C)] [INFO] [stdout] 23 | | flags SockFlag: libc::c_ulong { [INFO] [stdout] 24 | | const SA_NOCLDSTOP = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags!( [INFO] [stdout] 22 | | #[repr(C)] [INFO] [stdout] 23 | | flags SockFlag: libc::c_ulong { [INFO] [stdout] 24 | | const SA_NOCLDSTOP = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [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: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | thread::sleep_ms(HALT_RESOLUTION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | thread::sleep_ms(HALT_RESOLUTION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | println!("running `{}'", cmd_and_args.connect(" ")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | println!("running `{}'", cmd_and_args.connect(" ")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | CString::new(cmd[0].clone()).unwrap().as_ptr(), [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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | CString::new(cmd[0].clone()).unwrap().as_ptr(), [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: the type `sigaction` does not permit zero-initialization [INFO] [stdout] --> src/main.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let mut sa = unsafe { mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/main.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | pub sa_handler: extern fn(libc::c_int), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sigaction` does not permit zero-initialization [INFO] [stdout] --> src/main.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let mut sa = unsafe { mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/main.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | pub sa_handler: extern fn(libc::c_int), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "58dc0399b98457f291f087e949ae65c903ac935b95bab1b4f8b97c102f4dec7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58dc0399b98457f291f087e949ae65c903ac935b95bab1b4f8b97c102f4dec7f", kill_on_drop: false }` [INFO] [stdout] 58dc0399b98457f291f087e949ae65c903ac935b95bab1b4f8b97c102f4dec7f