[INFO] cloning repository https://github.com/randombk/rust-ldpreload-read [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/randombk/rust-ldpreload-read" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frandombk%2Frust-ldpreload-read", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frandombk%2Frust-ldpreload-read'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60283f4fc1f7ba72c8999d315eadf73b5e704390 [INFO] checking randombk/rust-ldpreload-read against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frandombk%2Frust-ldpreload-read" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/randombk/rust-ldpreload-read [INFO] finished tweaking git repo https://github.com/randombk/rust-ldpreload-read [INFO] tweaked toml for git repo https://github.com/randombk/rust-ldpreload-read written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/randombk/rust-ldpreload-read on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/randombk/rust-ldpreload-read 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `redirect_read` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redhook v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3dd9769a6b5fe9dadc2fa19c5e38ce6ae70c568bd2c426d6a580c4d0361de90 [INFO] running `Command { std: "docker" "start" "-a" "e3dd9769a6b5fe9dadc2fa19c5e38ce6ae70c568bd2c426d6a580c4d0361de90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3dd9769a6b5fe9dadc2fa19c5e38ce6ae70c568bd2c426d6a580c4d0361de90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3dd9769a6b5fe9dadc2fa19c5e38ce6ae70c568bd2c426d6a580c4d0361de90", kill_on_drop: false }` [INFO] [stdout] e3dd9769a6b5fe9dadc2fa19c5e38ce6ae70c568bd2c426d6a580c4d0361de90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8487dec64a33095da35a15ee9c909f2d9ae4748703eb1c9f5337f43f8d78db16 [INFO] running `Command { std: "docker" "start" "-a" "8487dec64a33095da35a15ee9c909f2d9ae4748703eb1c9f5337f43f8d78db16", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `redirect_read` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking redhook v0.1.1 [INFO] [stderr] Checking dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / hook! { [INFO] [stdout] 21 | | unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen { [INFO] [stdout] 22 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 23 | | println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / hook! { [INFO] [stdout] 21 | | unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen { [INFO] [stdout] 22 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 23 | | println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / hook! { [INFO] [stdout] 34 | | unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 { [INFO] [stdout] 35 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 36 | | println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / hook! { [INFO] [stdout] 34 | | unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 { [INFO] [stdout] 35 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 36 | | println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / hook! { [INFO] [stdout] 47 | | unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open { [INFO] [stdout] 48 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 49 | | println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / hook! { [INFO] [stdout] 47 | | unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open { [INFO] [stdout] 48 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 49 | | println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / hook! { [INFO] [stdout] 60 | | unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 { [INFO] [stdout] 61 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 62 | | println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / hook! { [INFO] [stdout] 60 | | unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 { [INFO] [stdout] 61 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 62 | | println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / hook! { [INFO] [stdout] 21 | | unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen { [INFO] [stdout] 22 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 23 | | println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / hook! { [INFO] [stdout] 21 | | unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen { [INFO] [stdout] 22 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 23 | | println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / hook! { [INFO] [stdout] 34 | | unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 { [INFO] [stdout] 35 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 36 | | println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / hook! { [INFO] [stdout] 34 | | unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 { [INFO] [stdout] 35 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 36 | | println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / hook! { [INFO] [stdout] 47 | | unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open { [INFO] [stdout] 48 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 49 | | println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / hook! { [INFO] [stdout] 47 | | unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open { [INFO] [stdout] 48 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 49 | | println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / hook! { [INFO] [stdout] 60 | | unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 { [INFO] [stdout] 61 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 62 | | println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / hook! { [INFO] [stdout] 60 | | unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 { [INFO] [stdout] 61 | | if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) { [INFO] [stdout] 62 | | println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "8487dec64a33095da35a15ee9c909f2d9ae4748703eb1c9f5337f43f8d78db16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8487dec64a33095da35a15ee9c909f2d9ae4748703eb1c9f5337f43f8d78db16", kill_on_drop: false }` [INFO] [stdout] 8487dec64a33095da35a15ee9c909f2d9ae4748703eb1c9f5337f43f8d78db16