[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 try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frandombk%2Frust-ldpreload-read" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/randombk/rust-ldpreload-read on toolchain 411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea59cb60ed4ad76f2ac22b01a3bd548d1d7f5a32632db38e247aa819c007e4ae [INFO] running `Command { std: "docker" "start" "-a" "ea59cb60ed4ad76f2ac22b01a3bd548d1d7f5a32632db38e247aa819c007e4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea59cb60ed4ad76f2ac22b01a3bd548d1d7f5a32632db38e247aa819c007e4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea59cb60ed4ad76f2ac22b01a3bd548d1d7f5a32632db38e247aa819c007e4ae", kill_on_drop: false }` [INFO] [stdout] ea59cb60ed4ad76f2ac22b01a3bd548d1d7f5a32632db38e247aa819c007e4ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a4a5ba411e6530019994348379150d29b55602fd66e22ed690c432dad10303e [INFO] running `Command { std: "docker" "start" "-a" "3a4a5ba411e6530019994348379150d29b55602fd66e22ed690c432dad10303e", 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: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: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: 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: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.99s [INFO] running `Command { std: "docker" "inspect" "3a4a5ba411e6530019994348379150d29b55602fd66e22ed690c432dad10303e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a4a5ba411e6530019994348379150d29b55602fd66e22ed690c432dad10303e", kill_on_drop: false }` [INFO] [stdout] 3a4a5ba411e6530019994348379150d29b55602fd66e22ed690c432dad10303e