[INFO] fetching crate threatflux-binary-analysis 0.2.0... [INFO] fixing threatflux-binary-analysis-0.2.0 against try#5fed607fb5806ae20927e7e9193e3793c411ac20+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817 [INFO] extracting crate threatflux-binary-analysis 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate threatflux-binary-analysis 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate threatflux-binary-analysis 0.2.0 [INFO] tweaked toml for crates.io crate threatflux-binary-analysis 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate threatflux-binary-analysis 0.2.0 on toolchain 5fed607fb5806ae20927e7e9193e3793c411ac20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate threatflux-binary-analysis 0.2.0 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" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88 [INFO] running `Command { std: "docker" "start" "460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }` [INFO] [stderr] crater-edition-check: migrating to next edition [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling wasm-encoder v0.236.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking leb128fmt v0.1.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling scroll_derive v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking scroll v0.13.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking wast v236.0.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking goblin v0.10.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking wat v1.236.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking threatflux-binary-analysis v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/formats/mod.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | if let Ok(file) = archive.by_index(i) { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `file` calls a custom destructor [INFO] [stdout] | `file` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/read.rs:984:1 [INFO] [stdout] | [INFO] [stdout] 984 | impl<'a> Drop for ZipFile<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `file` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/read.rs:984:1 [INFO] [stdout] | [INFO] [stdout] 984 | impl<'a> Drop for ZipFile<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/elf_test.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/formats/mod.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | if let Ok(file) = archive.by_index(i) { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `file` calls a custom destructor [INFO] [stdout] | `file` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/read.rs:984:1 [INFO] [stdout] | [INFO] [stdout] 984 | impl<'a> Drop for ZipFile<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `file` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/read.rs:984:1 [INFO] [stdout] | [INFO] [stdout] 984 | impl<'a> Drop for ZipFile<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/analyzer_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_property_based_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/control_flow_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_compiler_detection_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/format_detection_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_elf_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_macho_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/basic_analysis.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/macho_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_debug_info_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/types_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/wasm_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/integration_performance_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/util.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/security_analysis.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/enhanced_analysis_integration_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_pe_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_enhanced_binary_info_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/mod.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unit_java_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/iced_disasm_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/integration_test.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.43s [INFO] [stderr] crater-edition-check: threatflux-binary-analysis v0.2.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024 [INFO] [stderr] error: failed to parse manifest at `/opt/rustwide/workdir/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] rust-version 1.75.0 is incompatible with the version (1.85.0) required by the specified edition (2024) [INFO] running `Command { std: "docker" "inspect" "460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88", kill_on_drop: false }` [INFO] [stdout] 460f45b39dc6b95c1ad54239d4b0f861a6bcb994ae5abe644b66e31d1e4e7f88