[INFO] cloning repository https://github.com/aita/bindgen-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aita/bindgen-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faita%2Fbindgen-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faita%2Fbindgen-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37a7ce75bd8009ce78439d4bdbb40139139afec6 [INFO] checking aita/bindgen-example/37a7ce75bd8009ce78439d4bdbb40139139afec6 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faita%2Fbindgen-example" "/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/aita/bindgen-example on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aita/bindgen-example [INFO] finished tweaking git repo https://github.com/aita/bindgen-example [INFO] tweaked toml for git repo https://github.com/aita/bindgen-example written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aita/bindgen-example 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbc4b2de9cef90f3bd38f3f8ac260d100c4e5ba939e079df3c181266255cdb61 [INFO] running `Command { std: "docker" "start" "-a" "dbc4b2de9cef90f3bd38f3f8ac260d100c4e5ba939e079df3c181266255cdb61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbc4b2de9cef90f3bd38f3f8ac260d100c4e5ba939e079df3c181266255cdb61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc4b2de9cef90f3bd38f3f8ac260d100c4e5ba939e079df3c181266255cdb61", kill_on_drop: false }` [INFO] [stdout] dbc4b2de9cef90f3bd38f3f8ac260d100c4e5ba939e079df3c181266255cdb61 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c0c4ce017290d84dd78895d7daae3e72dd4de1bb70289a50dfde54cd997a871 [INFO] running `Command { std: "docker" "start" "-a" "2c0c4ce017290d84dd78895d7daae3e72dd4de1bb70289a50dfde54cd997a871", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling dog v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs (8 fixes) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:635 [INFO] [stdout] | [INFO] [stdout] 3 | ...ert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Dog > ())) . _name as * const _ as usize } , 0usize , concat ! ("Offset of field: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:827 [INFO] [stdout] | [INFO] [stdout] 3 | ...ert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Dog > ())) . _status as * const _ as usize } , 8usize , concat ! ("Offset of field... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct DogWrapper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | name: CString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct DogWrapper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | name: CString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling dog v0.1.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1001 [INFO] [stdout] | [INFO] [stdout] 3 | ...ify ! (_status))) ; } extern "C" { # [link_name = "\u{1}_ZN3Dog4walkEv"] pub fn Dog_walk (this : * mut Dog) ; } extern "C" { # [link_n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1091 [INFO] [stdout] | [INFO] [stdout] 3 | ...this : * mut Dog) ; } extern "C" { # [link_name = "\u{1}_ZN3Dog4stopEv"] pub fn Dog_stop (this : * mut Dog) ; } extern "C" { # [link_n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1181 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [link_name = "\u{1}_ZN3DogC1EPKc"] pub fn Dog_Dog (this : * mut Dog , name : * const :: std :: os :: raw :: c_char) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1316 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_char) ; } extern "C" { # [link_name = "\u{1}_ZN3DogD1Ev"] pub fn Dog_Dog_destructor (this : * mut Dog) ; } impl Dog { # [inli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1001 [INFO] [stdout] | [INFO] [stdout] 3 | ...ify ! (_status))) ; } extern "C" { # [link_name = "\u{1}_ZN3Dog4walkEv"] pub fn Dog_walk (this : * mut Dog) ; } extern "C" { # [link_n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1091 [INFO] [stdout] | [INFO] [stdout] 3 | ...this : * mut Dog) ; } extern "C" { # [link_name = "\u{1}_ZN3Dog4stopEv"] pub fn Dog_stop (this : * mut Dog) ; } extern "C" { # [link_n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1181 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [link_name = "\u{1}_ZN3DogC1EPKc"] pub fn Dog_Dog (this : * mut Dog , name : * const :: std :: os :: raw :: c_char) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1316 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_char) ; } extern "C" { # [link_name = "\u{1}_ZN3DogD1Ev"] pub fn Dog_Dog_destructor (this : * mut Dog) ; } impl Dog { # [inli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_walk` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1469 [INFO] [stdout] | [INFO] [stdout] 3 | ...{ # [inline] pub unsafe fn walk (& mut self) { Dog_walk (self) } # [inline] pub unsafe fn stop (& mut self) { Dog_stop (self) } # [inl... [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1435 [INFO] [stdout] | [INFO] [stdout] 3 | ...uctor (this : * mut Dog) ; } impl Dog { # [inline] pub unsafe fn walk (& mut self) { Dog_walk (self) } # [inline] pub unsafe fn stop (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_stop` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1532 [INFO] [stdout] | [INFO] [stdout] 3 | ...} # [inline] pub unsafe fn stop (& mut self) { Dog_stop (self) } # [inline] pub unsafe fn new (name : * const :: std :: os :: raw :: c... [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1498 [INFO] [stdout] | [INFO] [stdout] 3 | ...n walk (& mut self) { Dog_walk (self) } # [inline] pub unsafe fn stop (& mut self) { Dog_stop (self) } # [inline] pub unsafe fn new (n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_Dog` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1704 [INFO] [stdout] | [INFO] [stdout] 3 | ...m :: MaybeUninit :: uninit () ; Dog_Dog (__bindgen_tmp . as_mut_ptr () , name) ; __bindgen_tmp . assume_init () } # [inline] pub unsaf... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1561 [INFO] [stdout] | [INFO] [stdout] 3 | ...{ Dog_stop (self) } # [inline] pub unsafe fn new (name : * const :: std :: os :: raw :: c_char) -> Self { let mut __bindgen_tmp = :: s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1753 [INFO] [stdout] | [INFO] [stdout] 3 | ...__bindgen_tmp . as_mut_ptr () , name) ; __bindgen_tmp . assume_init () } # [inline] pub unsafe fn destruct (& mut self) { Dog_Dog_dest... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_Dog_destructor` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1835 [INFO] [stdout] | [INFO] [stdout] 3 | ...ne] pub unsafe fn destruct (& mut self) { Dog_Dog_destructor (self) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1797 [INFO] [stdout] | [INFO] [stdout] 3 | ...e) ; __bindgen_tmp . assume_init () } # [inline] pub unsafe fn destruct (& mut self) { Dog_Dog_destructor (self) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_walk` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1469 [INFO] [stdout] | [INFO] [stdout] 3 | ...{ # [inline] pub unsafe fn walk (& mut self) { Dog_walk (self) } # [inline] pub unsafe fn stop (& mut self) { Dog_stop (self) } # [inl... [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1435 [INFO] [stdout] | [INFO] [stdout] 3 | ...uctor (this : * mut Dog) ; } impl Dog { # [inline] pub unsafe fn walk (& mut self) { Dog_walk (self) } # [inline] pub unsafe fn stop (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_stop` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1532 [INFO] [stdout] | [INFO] [stdout] 3 | ...} # [inline] pub unsafe fn stop (& mut self) { Dog_stop (self) } # [inline] pub unsafe fn new (name : * const :: std :: os :: raw :: c... [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1498 [INFO] [stdout] | [INFO] [stdout] 3 | ...n walk (& mut self) { Dog_walk (self) } # [inline] pub unsafe fn stop (& mut self) { Dog_stop (self) } # [inline] pub unsafe fn new (n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_Dog` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1704 [INFO] [stdout] | [INFO] [stdout] 3 | ...m :: MaybeUninit :: uninit () ; Dog_Dog (__bindgen_tmp . as_mut_ptr () , name) ; __bindgen_tmp . assume_init () } # [inline] pub unsaf... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1561 [INFO] [stdout] | [INFO] [stdout] 3 | ...{ Dog_stop (self) } # [inline] pub unsafe fn new (name : * const :: std :: os :: raw :: c_char) -> Self { let mut __bindgen_tmp = :: s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1753 [INFO] [stdout] | [INFO] [stdout] 3 | ...__bindgen_tmp . as_mut_ptr () , name) ; __bindgen_tmp . assume_init () } # [inline] pub unsafe fn destruct (& mut self) { Dog_Dog_dest... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Dog_Dog_destructor` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1835 [INFO] [stdout] | [INFO] [stdout] 3 | ...ne] pub unsafe fn destruct (& mut self) { Dog_Dog_destructor (self) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/dog-de49207f78095c48/out/dog.rs:3:1797 [INFO] [stdout] | [INFO] [stdout] 3 | ...e) ; __bindgen_tmp . assume_init () } # [inline] pub unsafe fn destruct (& mut self) { Dog_Dog_destructor (self) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dog` (lib) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dog` (lib test) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2c0c4ce017290d84dd78895d7daae3e72dd4de1bb70289a50dfde54cd997a871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0c4ce017290d84dd78895d7daae3e72dd4de1bb70289a50dfde54cd997a871", kill_on_drop: false }` [INFO] [stdout] 2c0c4ce017290d84dd78895d7daae3e72dd4de1bb70289a50dfde54cd997a871