[INFO] fetching crate restrict 0.2.1...
[INFO] testing restrict-0.2.1 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] extracting crate restrict 0.2.1 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate restrict 0.2.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate restrict 0.2.1
[INFO] tweaked toml for crates.io crate restrict 0.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate restrict 0.2.1 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate restrict 0.2.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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustc-demangle v0.1.25
[INFO] [stderr]   Downloaded redox_syscall v0.5.13
[INFO] [stderr]   Downloaded metrics-exporter-prometheus v0.8.0
[INFO] [stderr]   Downloaded quanta v0.9.3
[INFO] [stderr]   Downloaded libseccomp-sys v0.3.0
[INFO] [stderr]   Downloaded metrics-macros v0.5.1
[INFO] [stderr]   Downloaded sketches-ddsketch v0.1.3
[INFO] [stderr]   Downloaded atomic-shim v0.2.0
[INFO] [stderr]   Downloaded metrics v0.18.1
[INFO] [stderr]   Downloaded bumpalo v3.18.1
[INFO] [stderr]   Downloaded metrics-util v0.11.1
[INFO] [stderr]   Downloaded syn v2.0.103
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ab2aa53c6c1f75f3ba81bc645ff9d166402992cb78c61f087b7a5c8ce8a59fb
[INFO] running `Command { std: "docker" "start" "-a" "7ab2aa53c6c1f75f3ba81bc645ff9d166402992cb78c61f087b7a5c8ce8a59fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ab2aa53c6c1f75f3ba81bc645ff9d166402992cb78c61f087b7a5c8ce8a59fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ab2aa53c6c1f75f3ba81bc645ff9d166402992cb78c61f087b7a5c8ce8a59fb", kill_on_drop: false }`
[INFO] [stdout] 7ab2aa53c6c1f75f3ba81bc645ff9d166402992cb78c61f087b7a5c8ce8a59fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b7ced17af79493d9d338cf862b908d919efa32b6b309ec9dbaa69de79b349aa
[INFO] running `Command { std: "docker" "start" "-a" "7b7ced17af79493d9d338cf862b908d919efa32b6b309ec9dbaa69de79b349aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling assert_cmd v2.0.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libseccomp-sys v0.3.0
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling restrict v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> build.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut include_dirs = vec![
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `restrict_warn`
[INFO] [stdout]   --> src/policy.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     restrict_counter, restrict_info, restrict_warn,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.77s
[INFO] running `Command { std: "docker" "inspect" "7b7ced17af79493d9d338cf862b908d919efa32b6b309ec9dbaa69de79b349aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b7ced17af79493d9d338cf862b908d919efa32b6b309ec9dbaa69de79b349aa", kill_on_drop: false }`
[INFO] [stdout] 7b7ced17af79493d9d338cf862b908d919efa32b6b309ec9dbaa69de79b349aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0be6a337dd38f9acec033ad79425b73b22321ceb11fa31e583cd105451d54c14
[INFO] running `Command { std: "docker" "start" "-a" "0be6a337dd38f9acec033ad79425b73b22321ceb11fa31e583cd105451d54c14", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling metrics v0.18.1
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> build.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut include_dirs = vec![
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling raw-cpuid v10.7.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling atomic-shim v0.2.0
[INFO] [stderr]    Compiling sketches-ddsketch v0.1.3
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling quanta v0.9.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling metrics-macros v0.5.1
[INFO] [stderr]    Compiling metrics-util v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling restrict v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stdout] warning: unused import: `restrict_warn`
[INFO] [stdout]   --> src/policy.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     restrict_counter, restrict_info, restrict_warn,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling metrics-exporter-prometheus v0.8.0
[INFO] [stdout] warning: unused import: `restrict_warn`
[INFO] [stdout]   --> src/policy.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     restrict_counter, restrict_info, restrict_warn,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 28.25s
[INFO] running `Command { std: "docker" "inspect" "0be6a337dd38f9acec033ad79425b73b22321ceb11fa31e583cd105451d54c14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0be6a337dd38f9acec033ad79425b73b22321ceb11fa31e583cd105451d54c14", kill_on_drop: false }`
[INFO] [stdout] 0be6a337dd38f9acec033ad79425b73b22321ceb11fa31e583cd105451d54c14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] adddbab6072361cd5957849576a601f077d8537901801a7334b0d6f03adb12cc
[INFO] running `Command { std: "docker" "start" "-a" "adddbab6072361cd5957849576a601f077d8537901801a7334b0d6f03adb12cc", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> build.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let mut include_dirs = vec![
[INFO] [stderr]    |         ----^^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `restrict` (build script) generated 1 warning
[INFO] [stderr] warning: unused import: `restrict_warn`
[INFO] [stderr]   --> src/policy.rs:10:38
[INFO] [stderr]    |
[INFO] [stderr] 10 |     restrict_counter, restrict_info, restrict_warn,
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `restrict` (lib) generated 1 warning (run `cargo fix --lib -p restrict` to apply 1 suggestion)
[INFO] [stderr] warning: `restrict` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/restrict-6b80009d2249d5db)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test wrapper::tests::wrapper_resolve_syscall ... ok
[INFO] [stdout] test wrapper::tests::invalid_resolve_syscall ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests tests/test_bins/blocked_ptrace_test.rs (/opt/rustwide/target/debug/deps/blocked_ptrace-252f3e95a40fffd9)
[INFO] [stderr]      Running unittests tests/test_bins/count_trace.rs (/opt/rustwide/target/debug/deps/count_trace-514c82a407e84fd7)
[INFO] [stderr]      Running unittests tests/test_bins/fake_getpid.rs (/opt/rustwide/target/debug/deps/fake_getpid-5d14418604e2da7c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests tests/test_bins/fake_getuid.rs (/opt/rustwide/target/debug/deps/fake_getuid-6be33eb1289b06c7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests tests/test_bins/fake_time.rs (/opt/rustwide/target/debug/deps/fake_time-c8eb97d37e02ab08)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/basic_filter.rs (/opt/rustwide/target/debug/deps/basic_filter-0fb029143dfdb638)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/intercept_tests.rs (/opt/rustwide/target/debug/deps/intercept_tests-4fdec4e1e175a9e4)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test test_custom_errno ... ok
[INFO] [stdout] test fake_getpid_test ... ok
[INFO] [stdout] test trace_count_test ... ok
[INFO] [stdout] test fake_time_test ... ok
[INFO] [stdout] test test_trace_interception ... ok
[INFO] [stdout] test fake_getuid_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests restrict
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "adddbab6072361cd5957849576a601f077d8537901801a7334b0d6f03adb12cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adddbab6072361cd5957849576a601f077d8537901801a7334b0d6f03adb12cc", kill_on_drop: false }`
[INFO] [stdout] adddbab6072361cd5957849576a601f077d8537901801a7334b0d6f03adb12cc
