[INFO] fetching crate sandbox-host-linux 0.1.1...
[INFO] testing sandbox-host-linux-0.1.1 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate sandbox-host-linux 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate sandbox-host-linux 0.1.1
[INFO] finished tweaking crates.io crate sandbox-host-linux 0.1.1
[INFO] tweaked toml for crates.io crate sandbox-host-linux 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate sandbox-host-linux 0.1.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate sandbox-host-linux 0.1.1 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9
[INFO] running `Command { std: "docker" "start" "61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9", 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" "61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9", 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" "61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling log v0.4.32
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling cross-sandbox-core v0.1.1
[INFO] [stderr]    Compiling sandbox-host-linux v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `SYS_SECCOMP` in crate `libc`
[INFO] [stdout]    --> src/syscall.rs:291:19
[INFO] [stdout]     |
[INFO] [stdout] 291 |             libc::SYS_SECCOMP,
[INFO] [stdout]     |                   ^^^^^^^^^^^ not found in `libc`
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `SYS_seccomp` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.186/src/unix/linux_like/linux/gnu/b64/x86_64/not_x32.rs:390:1
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub const SYS_seccomp: c_long = 317;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 291 -             libc::SYS_SECCOMP,
[INFO] [stdout] 291 +             libc::SYS_seccomp,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::ffi::OsStrExt`
[INFO] [stdout]   --> src/fs.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::unix::ffi::OsStrExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::ffi::OsStrExt`
[INFO] [stdout]   --> src/process.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::os::unix::ffi::OsStrExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::io::FromRawFd`
[INFO] [stdout]    --> src/process.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     use std::os::unix::io::FromRawFd;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syscall_nr::SECCOMP`
[INFO] [stdout]    --> src/syscall.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     use syscall_nr::SECCOMP;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_ptr` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/fs.rs:213:30
[INFO] [stdout]     |
[INFO] [stdout] 213 |             path.as_os_str().as_ptr() as *const libc::c_char,
[INFO] [stdout]     |                              ^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `str_as_str`
[INFO] [stdout]    --> src/fs.rs:272:25
[INFO] [stdout]     |
[INFO] [stdout] 272 |         None => pattern.as_str(),
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `enable_recursive_injection` on type `&SandboxConfig`
[INFO] [stdout]   --> src/process.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let allow_fork = config.enable_recursive_injection;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `file_permissions`, `network_permissions`, `enable_network_isolation`, `verbose_audit` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:234:8
[INFO] [stdout]     |
[INFO] [stdout] 234 |     if unsafe { libc::WIFEXITED(status) } {
[INFO] [stdout]     |        ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:235:12
[INFO] [stdout]     |
[INFO] [stdout] 235 |         Ok(unsafe { libc::WEXITSTATUS(status) })
[INFO] [stdout]     |            ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:236:15
[INFO] [stdout]     |
[INFO] [stdout] 236 |     } else if unsafe { libc::WIFSIGNALED(status) } {
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:237:19
[INFO] [stdout]     |
[INFO] [stdout] 237 |         let sig = unsafe { libc::WTERMSIG(status) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:260:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |             if unsafe { libc::WIFEXITED(status) } {
[INFO] [stdout]     |                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:261:27
[INFO] [stdout]     |
[INFO] [stdout] 261 |                 return Ok(unsafe { libc::WEXITSTATUS(status) });
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:262:23
[INFO] [stdout]     |
[INFO] [stdout] 262 |             } else if unsafe { libc::WIFSIGNALED(status) } {
[INFO] [stdout]     |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/process.rs:263:27
[INFO] [stdout]     |
[INFO] [stdout] 263 |                 let sig = unsafe { libc::WTERMSIG(status) };
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of function
[INFO] [stdout]    --> src/process.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 301 |       config: &SandboxConfig,
[INFO] [stdout]     |       ------  - let's call the lifetime of this reference `'1`
[INFO] [stdout]     |       |
[INFO] [stdout]     |       `config` is only valid in the function body
[INFO] [stdout] ...
[INFO] [stdout] 375 | /     std::thread::spawn(move || {
[INFO] [stdout] 376 | |         let exit_code = if config.timeout_secs > 0 {
[INFO] [stdout] 377 | |             wait_with_timeout(pid, config.timeout_secs)
[INFO] [stdout] 378 | |         } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 398 | |     });
[INFO] [stdout]     | |      ^
[INFO] [stdout]     | |      |
[INFO] [stdout]     | |______`config` escapes the function body here
[INFO] [stdout]     |        argument requires that `'1` must outlive `'static`
[INFO] [stdout]     |
[INFO] [stdout] note: `'static` lifetime requirement from `spawn` introduced here
[INFO] [stdout]    --> /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/thread/functions.rs:125:0
[INFO] [stdout]    ::: /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/thread/functions.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout]     = note: lifetime requirement introduced here
[INFO] [stdout]    ::: /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/thread/functions.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout]     = note: lifetime requirement introduced here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0521, E0599, E0609, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sandbox-host-linux` (lib) due to 5 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: unused dependency `nix`
[INFO] [stderr]   --> Cargo.toml:33:49
[INFO] [stderr]    |
[INFO] [stderr] 33 | [target.'cfg(target_os = "linux")'.dependencies.nix]
[INFO] [stderr]    |                                                 ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `nix`
[INFO] [stderr] warning: `sandbox-host-linux` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9", kill_on_drop: false }`
[INFO] [stdout] 61c7bff516dec8d7bfcb45870a7ea687a916dc048e38bebf45752dcc069f11f9
