[INFO] fetching crate libafl_bolts 0.13.2... [INFO] checking libafl_bolts-0.13.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate libafl_bolts 0.13.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libafl_bolts 0.13.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libafl_bolts 0.13.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libafl_bolts 0.13.2 [INFO] tweaked toml for crates.io crate libafl_bolts 0.13.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate libafl_bolts 0.13.2 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a43120dcaddf3e2358ea9fd9beb4e82f51606deeb23e3141e908e8ff437eb62f [INFO] running `Command { std: "docker" "start" "-a" "a43120dcaddf3e2358ea9fd9beb4e82f51606deeb23e3141e908e8ff437eb62f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a43120dcaddf3e2358ea9fd9beb4e82f51606deeb23e3141e908e8ff437eb62f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43120dcaddf3e2358ea9fd9beb4e82f51606deeb23e3141e908e8ff437eb62f", kill_on_drop: false }` [INFO] [stdout] a43120dcaddf3e2358ea9fd9beb4e82f51606deeb23e3141e908e8ff437eb62f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99c4c4c938a5d0823a70598e1f1de0d19352f3dbafb909a7e610e321d9962325 [INFO] running `Command { std: "docker" "start" "-a" "99c4c4c938a5d0823a70598e1f1de0d19352f3dbafb909a7e610e321d9962325", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking sdd v0.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling libafl_bolts v0.13.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking scc v2.1.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking embedded-io v0.4.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Checking tuple_list v0.1.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking uds v0.4.2 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling ctor v0.2.7 [INFO] [stderr] Compiling libafl_derive v0.13.2 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking postcard v1.0.8 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llmp.rs:731:15 [INFO] [stdout] | [INFO] [stdout] 730 | pub fn on_port(shmem_provider: SP, port: u16) -> Result { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | match tcp_bind(port) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llmp.rs:731:15 [INFO] [stdout] | [INFO] [stdout] 730 | pub fn on_port(shmem_provider: SP, port: u16) -> Result { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | match tcp_bind(port) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llmp.rs:2880:15 [INFO] [stdout] | [INFO] [stdout] 2876 | shmem_provider: SP, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2880 | match tcp_bind(port) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llmp.rs:2880:15 [INFO] [stdout] | [INFO] [stdout] 2876 | shmem_provider: SP, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2880 | match tcp_bind(port) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:989:13 [INFO] [stdout] | [INFO] [stdout] 989 | LIBAFL_RAWFD_LOGGER.set_fd(log_fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | / REGISTRY [INFO] [stdout] 160 | | .deserializers [INFO] [stdout] 161 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | REGISTRY.register::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | REGISTRY.finalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:369:29 [INFO] [stdout] | [INFO] [stdout] 369 | / ... REGISTRY [INFO] [stdout] 370 | | ... .deserializers [INFO] [stdout] 371 | | ... .as_ref() [INFO] [stdout] | |___________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:632:29 [INFO] [stdout] | [INFO] [stdout] 632 | / ... REGISTRY [INFO] [stdout] 633 | | ... .deserializers [INFO] [stdout] 634 | | ... .as_ref() [INFO] [stdout] | |___________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/tuples.rs:853:1 [INFO] [stdout] | [INFO] [stdout] 853 | pub fn test_macros() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libafl_bolts` (lib test) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:989:13 [INFO] [stdout] | [INFO] [stdout] 989 | LIBAFL_RAWFD_LOGGER.set_fd(log_fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | / REGISTRY [INFO] [stdout] 160 | | .deserializers [INFO] [stdout] 161 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | REGISTRY.register::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | REGISTRY.finalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:369:29 [INFO] [stdout] | [INFO] [stdout] 369 | / ... REGISTRY [INFO] [stdout] 370 | | ... .deserializers [INFO] [stdout] 371 | | ... .as_ref() [INFO] [stdout] | |___________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/serdeany.rs:632:29 [INFO] [stdout] | [INFO] [stdout] 632 | / ... REGISTRY [INFO] [stdout] 633 | | ... .deserializers [INFO] [stdout] 634 | | ... .as_ref() [INFO] [stdout] | |___________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libafl_bolts` (lib) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "99c4c4c938a5d0823a70598e1f1de0d19352f3dbafb909a7e610e321d9962325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c4c4c938a5d0823a70598e1f1de0d19352f3dbafb909a7e610e321d9962325", kill_on_drop: false }` [INFO] [stdout] 99c4c4c938a5d0823a70598e1f1de0d19352f3dbafb909a7e610e321d9962325