[INFO] fetching crate security-framework 3.0.0... [INFO] checking security-framework-3.0.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate security-framework 3.0.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate security-framework 3.0.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate security-framework 3.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate security-framework 3.0.0 [INFO] tweaked toml for crates.io crate security-framework 3.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate security-framework 3.0.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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfc2dcc3494f08aadd9c268badd93282d2e11d9db62bd672c700f6d0087c1c1d [INFO] running `Command { std: "docker" "start" "-a" "bfc2dcc3494f08aadd9c268badd93282d2e11d9db62bd672c700f6d0087c1c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfc2dcc3494f08aadd9c268badd93282d2e11d9db62bd672c700f6d0087c1c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc2dcc3494f08aadd9c268badd93282d2e11d9db62bd672c700f6d0087c1c1d", kill_on_drop: false }` [INFO] [stdout] bfc2dcc3494f08aadd9c268badd93282d2e11d9db62bd672c700f6d0087c1c1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ed1d9989f7f2137a87c3b8cdf1c3ec71cc8e39684312e1bbcd0c5a5215654ec [INFO] running `Command { std: "docker" "start" "-a" "0ed1d9989f7f2137a87c3b8cdf1c3ec71cc8e39684312e1bbcd0c5a5215654ec", 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 proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking core-foundation-sys v0.8.7 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking security-framework-sys v2.12.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking core-foundation v0.10.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking security-framework v3.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Migrating examples/set_internet_password.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `src/../test/server.der`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | let certificate = include_bytes!("../test/server.der"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::certificate` [INFO] [stdout] --> src/lib.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | use crate::certificate::SecCertificate; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `x509_parser::certificate` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod certificate; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] Migrating examples/client.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `security-framework` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating examples/find_internet_password.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `security_framework::secure_transport` [INFO] [stdout] --> examples/client.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use security_framework::secure_transport::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `secure_transport` in `security_framework` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub mod secure_transport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /tmp/fixit/src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `security-framework` (example "client") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0ed1d9989f7f2137a87c3b8cdf1c3ec71cc8e39684312e1bbcd0c5a5215654ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed1d9989f7f2137a87c3b8cdf1c3ec71cc8e39684312e1bbcd0c5a5215654ec", kill_on_drop: false }` [INFO] [stdout] 0ed1d9989f7f2137a87c3b8cdf1c3ec71cc8e39684312e1bbcd0c5a5215654ec