[INFO] cloning repository https://github.com/liulifox233/safesurf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liulifox233/safesurf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliulifox233%2Fsafesurf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliulifox233%2Fsafesurf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82d71d68161f9592f2bc8b1bbf880afd07683750 [INFO] testing liulifox233/safesurf/82d71d68161f9592f2bc8b1bbf880afd07683750 against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliulifox233%2Fsafesurf" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/liulifox233/safesurf [INFO] finished tweaking git repo https://github.com/liulifox233/safesurf [INFO] tweaked toml for git repo https://github.com/liulifox233/safesurf written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liulifox233/safesurf on toolchain 1.98.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/liulifox233/safesurf 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmp v0.8.15 [INFO] [stderr] Downloaded log v0.4.31 [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded darling_macro v0.23.0 [INFO] [stderr] Downloaded terminal_size v0.4.4 [INFO] [stderr] Downloaded signal-hook-mio v0.2.5 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded lru v0.12.5 [INFO] [stderr] Downloaded instability v0.3.12 [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded indoc v2.0.7 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded darling v0.23.0 [INFO] [stderr] Downloaded signal-hook v0.3.18 [INFO] [stderr] Downloaded compact_str v0.8.2 [INFO] [stderr] Downloaded darling_core v0.23.0 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded unicode-width v0.2.0 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded bstr v1.12.1 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664 [INFO] running `Command { std: "docker" "start" "4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664", 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" "4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664", 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=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bitflags v2.12.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling log v0.4.31 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling safesurf-preload v0.1.0 (/opt/rustwide/workdir/crates/safesurf-preload) [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling rmp v0.8.15 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling mio v1.2.1 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling terminal_size v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stdout] error[E0428]: the name `rewrite_exec_path` is defined multiple times [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1637:1 [INFO] [stdout] | [INFO] [stdout] 1591 | / fn rewrite_exec_path( [INFO] [stdout] 1592 | | path: *const c_char, [INFO] [stdout] 1593 | | argv: *const *const c_char, [INFO] [stdout] 1594 | | envp: *const *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 1633 | | }) [INFO] [stdout] 1634 | | } [INFO] [stdout] | |_- previous definition of the value `rewrite_exec_path` here [INFO] [stdout] ... [INFO] [stdout] 1637 | / fn rewrite_exec_path( [INFO] [stdout] 1638 | | _path: *const c_char, [INFO] [stdout] 1639 | | _argv: *const *const c_char, [INFO] [stdout] 1640 | | _envp: *const *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 1643 | | Ok(ExecRewrite::default()) [INFO] [stdout] 1644 | | } [INFO] [stdout] | |_^ `rewrite_exec_path` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `rewrite_exec_path` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling compact_str v0.8.2 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stdout] error[E0425]: cannot find function `macos_replacement_for` in this scope [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1604:29 [INFO] [stdout] | [INFO] [stdout] 1604 | let Some(replacement) = macos_replacement_for(raw, search_path) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1789:4 [INFO] [stdout] | [INFO] [stdout] 1788 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 1789 | fn macos_replacement_for(path: &str, search_path: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `macos_ad_hoc_copy_for_hardened_binary` in this scope [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1605:29 [INFO] [stdout] | [INFO] [stdout] 1605 | if let Some(path) = macos_ad_hoc_copy_for_hardened_binary(Path::new(raw))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:2315:4 [INFO] [stdout] | [INFO] [stdout] 2314 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 2315 | fn macos_ad_hoc_copy_for_hardened_binary(path: &Path) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `path_to_c_string` in this scope [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1607:28 [INFO] [stdout] | [INFO] [stdout] 1607 | path: Some(path_to_c_string(&path)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:2424:4 [INFO] [stdout] | [INFO] [stdout] 2423 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 2424 | fn path_to_c_string(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_macos_protected_system_path` in this scope [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1615:12 [INFO] [stdout] | [INFO] [stdout] 1615 | if is_macos_protected_system_path(raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1889:4 [INFO] [stdout] | [INFO] [stdout] 1888 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 1889 | fn is_macos_protected_system_path(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `macos_trusted_unenforced_exec` in this scope [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1618:43 [INFO] [stdout] | [INFO] [stdout] 1618 | macos_unenforced: Some(if macos_trusted_unenforced_exec(raw, argv) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> crates/safesurf-preload/src/lib.rs:1901:4 [INFO] [stdout] | [INFO] [stdout] 1900 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 1901 | fn macos_trusted_unenforced_exec(path: &str, argv: *const *const c_char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safesurf-preload` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664", kill_on_drop: false }` [INFO] [stdout] 4b81b2aa605e1225c000e4107032243a26765f3e23fb3a9d175a03600e818664