[INFO] cloning repository https://github.com/ckampfe/shathree-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ckampfe/shathree-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckampfe%2Fshathree-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckampfe%2Fshathree-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6933505ea165d2bb53be41290080d5c0b857f7c [INFO] checking ckampfe/shathree-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckampfe%2Fshathree-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ckampfe/shathree-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ckampfe/shathree-rs [INFO] finished tweaking git repo https://github.com/ckampfe/shathree-rs [INFO] tweaked toml for git repo https://github.com/ckampfe/shathree-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ckampfe/shathree-rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6550a167ea11644dfaa7f3daec34f1543e50003d9cf9df43aad737177cfee845 [INFO] running `Command { std: "docker" "start" "-a" "6550a167ea11644dfaa7f3daec34f1543e50003d9cf9df43aad737177cfee845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6550a167ea11644dfaa7f3daec34f1543e50003d9cf9df43aad737177cfee845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6550a167ea11644dfaa7f3daec34f1543e50003d9cf9df43aad737177cfee845", kill_on_drop: false }` [INFO] [stdout] 6550a167ea11644dfaa7f3daec34f1543e50003d9cf9df43aad737177cfee845 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc631cb63831af8589b5b1fdb5e7e55bdba4383e30c21c7a5df8f7ecdc08e16b [INFO] running `Command { std: "docker" "start" "-a" "dc631cb63831af8589b5b1fdb5e7e55bdba4383e30c21c7a5df8f7ecdc08e16b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking shathree-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 22 | fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ----------------------------------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 24 | fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | --------------------------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 26 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stdout] | --------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `ptr_wrapping_offset_from` [INFO] [stdout] --> src/lib.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(c_variadic, extern_types, ptr_wrapping_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 22 | fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ----------------------------------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 24 | fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | --------------------------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 26 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stdout] | --------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `ptr_wrapping_offset_from` [INFO] [stdout] --> src/lib.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(c_variadic, extern_types, ptr_wrapping_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const u8` in the current scope [INFO] [stdout] --> src/lib.rs:1666:18 [INFO] [stdout] | [INFO] [stdout] 1666 | && aData.wrapping_offset_from(0 as *const libc::c_uchar) as libc::c_long [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] help: there is a method `wrapping_offset` with a similar name [INFO] [stdout] | [INFO] [stdout] 1666 | && aData.wrapping_offset(0 as *const libc::c_uchar) as libc::c_long [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const u8` in the current scope [INFO] [stdout] --> src/lib.rs:1666:18 [INFO] [stdout] | [INFO] [stdout] 1666 | && aData.wrapping_offset_from(0 as *const libc::c_uchar) as libc::c_long [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] help: there is a method `wrapping_offset` with a similar name [INFO] [stdout] | [INFO] [stdout] 1666 | && aData.wrapping_offset(0 as *const libc::c_uchar) as libc::c_long [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pzErrMsg` [INFO] [stdout] --> src/lib.rs:2068:9 [INFO] [stdout] | [INFO] [stdout] 2068 | mut pzErrMsg: *mut *mut libc::c_char, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pzErrMsg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shathree-rs` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `pzErrMsg` [INFO] [stdout] --> src/lib.rs:2068:9 [INFO] [stdout] | [INFO] [stdout] 2068 | mut pzErrMsg: *mut *mut libc::c_char, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pzErrMsg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shathree-rs` (lib) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dc631cb63831af8589b5b1fdb5e7e55bdba4383e30c21c7a5df8f7ecdc08e16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc631cb63831af8589b5b1fdb5e7e55bdba4383e30c21c7a5df8f7ecdc08e16b", kill_on_drop: false }` [INFO] [stdout] dc631cb63831af8589b5b1fdb5e7e55bdba4383e30c21c7a5df8f7ecdc08e16b [INFO] checking ckampfe/shathree-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckampfe%2Fshathree-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ckampfe/shathree-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ckampfe/shathree-rs [INFO] finished tweaking git repo https://github.com/ckampfe/shathree-rs [INFO] tweaked toml for git repo https://github.com/ckampfe/shathree-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ckampfe/shathree-rs 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1c0a4bccdfe195b1bcdf520ed871936e61f7410311a9ad0dba53136237ca4fb [INFO] running `Command { std: "docker" "start" "-a" "c1c0a4bccdfe195b1bcdf520ed871936e61f7410311a9ad0dba53136237ca4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1c0a4bccdfe195b1bcdf520ed871936e61f7410311a9ad0dba53136237ca4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c0a4bccdfe195b1bcdf520ed871936e61f7410311a9ad0dba53136237ca4fb", kill_on_drop: false }` [INFO] [stdout] c1c0a4bccdfe195b1bcdf520ed871936e61f7410311a9ad0dba53136237ca4fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8aeb7a1f12db68f7ee6668f89b4ac333791fad0b2003f74424ff24b11a11fb4 [INFO] running `Command { std: "docker" "start" "-a" "d8aeb7a1f12db68f7ee6668f89b4ac333791fad0b2003f74424ff24b11a11fb4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d8aeb7a1f12db68f7ee6668f89b4ac333791fad0b2003f74424ff24b11a11fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8aeb7a1f12db68f7ee6668f89b4ac333791fad0b2003f74424ff24b11a11fb4", kill_on_drop: false }` [INFO] [stdout] d8aeb7a1f12db68f7ee6668f89b4ac333791fad0b2003f74424ff24b11a11fb4