[INFO] fetching crate threader 0.0.4... [INFO] testing threader-0.0.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate threader 0.0.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate threader 0.0.4 [INFO] finished tweaking crates.io crate threader 0.0.4 [INFO] tweaked toml for crates.io crate threader 0.0.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate threader 0.0.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding crossbeam v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding mio v0.6.23 (available: v1.1.0) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded flame v0.2.2 [INFO] [stderr] Downloaded crossbeam v0.7.3 [INFO] [stderr] Downloaded crossbeam-channel v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e0b855c3c4b4782a77dc43cb06b97bd71104fa277add2df3824baa5da358f28 [INFO] running `Command { std: "docker" "start" "-a" "2e0b855c3c4b4782a77dc43cb06b97bd71104fa277add2df3824baa5da358f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e0b855c3c4b4782a77dc43cb06b97bd71104fa277add2df3824baa5da358f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e0b855c3c4b4782a77dc43cb06b97bd71104fa277add2df3824baa5da358f28", kill_on_drop: false }` [INFO] [stdout] 2e0b855c3c4b4782a77dc43cb06b97bd71104fa277add2df3824baa5da358f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79e651f9c9317661248ac47b42e613e3a93ee825b879682f3379cf04f6915009 [INFO] running `Command { std: "docker" "start" "-a" "79e651f9c9317661248ac47b42e613e3a93ee825b879682f3379cf04f6915009", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling threader v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/thread_pool/task/raw.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ptr, [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: `InvalidGuard` [INFO] [stdout] --> src/thread_pool/task/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use raw::{Header, InvalidGuard, RawTask}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/utils/debug_utils.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/utils/debug_utils.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(release)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/thread_pool/task/raw.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | .compare_and_swap(UNLOCKED, LOCKED, Ordering::AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/thread_pool/worker.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .compare_and_swap(RUNNING, IDLE, Ordering::AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/utils/thread_parker.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | .compare_and_swap(false, true, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_clone` is never used [INFO] [stdout] --> src/net/tcp.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl TcpStream { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn try_clone(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/thread_pool/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | workers: Vec<(JoinHandle<()>, Arc)>, [INFO] [stdout] 45 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidGuard` is never constructed [INFO] [stdout] --> src/thread_pool/task/raw.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) struct InvalidGuard; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.65s [INFO] running `Command { std: "docker" "inspect" "79e651f9c9317661248ac47b42e613e3a93ee825b879682f3379cf04f6915009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e651f9c9317661248ac47b42e613e3a93ee825b879682f3379cf04f6915009", kill_on_drop: false }` [INFO] [stdout] 79e651f9c9317661248ac47b42e613e3a93ee825b879682f3379cf04f6915009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80caea1ca6847fc3f50cbbd6524a8d3a17b3daf55ed674d9e01c828bb6ca5986 [INFO] running `Command { std: "docker" "start" "-a" "80caea1ca6847fc3f50cbbd6524a8d3a17b3daf55ed674d9e01c828bb6ca5986", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/thread_pool/task/raw.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ptr, [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: `InvalidGuard` [INFO] [stdout] --> src/thread_pool/task/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use raw::{Header, InvalidGuard, RawTask}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/utils/debug_utils.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/utils/debug_utils.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(release)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/thread_pool/task/raw.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | .compare_and_swap(UNLOCKED, LOCKED, Ordering::AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/thread_pool/worker.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .compare_and_swap(RUNNING, IDLE, Ordering::AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/utils/thread_parker.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | .compare_and_swap(false, true, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_clone` is never used [INFO] [stdout] --> src/net/tcp.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl TcpStream { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn try_clone(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/thread_pool/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | workers: Vec<(JoinHandle<()>, Arc)>, [INFO] [stdout] 45 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidGuard` is never constructed [INFO] [stdout] --> src/thread_pool/task/raw.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) struct InvalidGuard; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flame v0.2.2 [INFO] [stderr] Compiling threader v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/thread_pool/task/raw.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ptr, [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: `InvalidGuard` [INFO] [stdout] --> src/thread_pool/task/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use raw::{Header, InvalidGuard, RawTask}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/utils/debug_utils.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/utils/debug_utils.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(release)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/thread_pool/task/raw.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | .compare_and_swap(UNLOCKED, LOCKED, Ordering::AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/thread_pool/worker.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .compare_and_swap(RUNNING, IDLE, Ordering::AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/utils/thread_parker.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | .compare_and_swap(false, true, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thread_pool/mod.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [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: method `try_clone` is never used [INFO] [stdout] --> src/net/tcp.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl TcpStream { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn try_clone(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/thread_pool/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | workers: Vec<(JoinHandle<()>, Arc)>, [INFO] [stdout] 45 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidGuard` is never constructed [INFO] [stdout] --> src/thread_pool/task/raw.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) struct InvalidGuard; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.63s [INFO] running `Command { std: "docker" "inspect" "80caea1ca6847fc3f50cbbd6524a8d3a17b3daf55ed674d9e01c828bb6ca5986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80caea1ca6847fc3f50cbbd6524a8d3a17b3daf55ed674d9e01c828bb6ca5986", kill_on_drop: false }` [INFO] [stdout] 80caea1ca6847fc3f50cbbd6524a8d3a17b3daf55ed674d9e01c828bb6ca5986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85a59277c54fd4540ca9fe3249a31b46a39871b31989fde3b0e59cf0289751f3 [INFO] running `Command { std: "docker" "start" "-a" "85a59277c54fd4540ca9fe3249a31b46a39871b31989fde3b0e59cf0289751f3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ptr` [INFO] [stderr] --> src/thread_pool/task/raw.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | ptr, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `InvalidGuard` [INFO] [stderr] --> src/thread_pool/task/mod.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use raw::{Header, InvalidGuard, RawTask}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/utils/debug_utils.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/utils/debug_utils.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(release)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/thread_pool/task/raw.rs:181:10 [INFO] [stderr] | [INFO] [stderr] 181 | .compare_and_swap(UNLOCKED, LOCKED, Ordering::AcqRel) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/thread_pool/worker.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | .compare_and_swap(RUNNING, IDLE, Ordering::AcqRel) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/utils/thread_parker.rs:127:14 [INFO] [stderr] | [INFO] [stderr] 127 | .compare_and_swap(false, true, Ordering::Release); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `try_clone` is never used [INFO] [stderr] --> src/net/tcp.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 71 | impl TcpStream { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 102 | fn try_clone(&self) -> io::Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `count` is never read [INFO] [stderr] --> src/thread_pool/mod.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct ThreadPool { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 44 | workers: Vec<(JoinHandle<()>, Arc)>, [INFO] [stderr] 45 | count: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `InvalidGuard` is never constructed [INFO] [stderr] --> src/thread_pool/task/raw.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | pub(crate) struct InvalidGuard; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `threader` (lib) generated 10 warnings (run `cargo fix --lib -p threader` to apply 2 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/thread_pool/mod.rs:252:21 [INFO] [stderr] | [INFO] [stderr] 252 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [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: `threader` (lib test) generated 11 warnings (10 duplicates) (run `cargo fix --lib -p threader --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/threader-67c8d55e165acef8) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test net::tcp::tests::connect_test ... ignored [INFO] [stdout] test thread_pool::tests::bad_future ... ignored [INFO] [stdout] test thread_pool::tests::time_threader ... ignored [INFO] [stdout] test thread_pool::tests::custom_thread_count ... ok [INFO] [stdout] test net::tcp::tests::connect_invalid_port ... FAILED [INFO] [stdout] test net::tcp::tests::listener_stream_connect ... FAILED [INFO] [stdout] test thread_pool::tests::zero_threads - should panic ... ok [INFO] [stdout] test thread_pool::tests::simple ... ok [INFO] [stdout] test thread_pool::tests::reschedule ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- net::tcp::tests::connect_invalid_port stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'net::tcp::tests::connect_invalid_port' (17) panicked at src/net/tcp.rs:407:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok(Ok(())) [INFO] [stdout] right: Ok(Err(())) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c7b159c6ca2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c7b159c6ca2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c7b159c6ca2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c7b159c6ca2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c7b159d764f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c7b159d764f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5c7b159936f3 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c7b159936f3 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c7b1599fae2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c7b159a4b5f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c7b159a49f1 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c7b15931d2e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5c7b15931d2e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c7b159a516f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5c7b159a516f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c7b159a4fca - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c7b1599fc29 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c7b15987d8d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c7b159e0180 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5c7b159dff33 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x5c7b158cf339 - core::panicking::assert_failed::hb1c7fc8bc6371707 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x5c7b158d8dd6 - threader::net::tcp::tests::connect_invalid_port::hac281049eea6ada9 [INFO] [stdout] at /opt/rustwide/workdir/src/net/tcp.rs:407:9 [INFO] [stdout] 22: 0x5c7b158d9387 - threader::net::tcp::tests::connect_invalid_port::{{closure}}::haa03c8e746721197 [INFO] [stdout] at /opt/rustwide/workdir/src/net/tcp.rs:384:30 [INFO] [stdout] 23: 0x5c7b158cbdc6 - core::ops::function::FnOnce::call_once::heb47baa9f9c76ee2 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5c7b15931b9b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5c7b15931b9b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c7b15945b8d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c7b15945b8d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5c7b15945b8d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c7b15945b8d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c7b15945b8d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c7b15945b8d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c7b15945b8d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c7b1591f0d4 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c7b1591f0d4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c7b1592292a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5c7b1592292a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5c7b1592292a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c7b1592292a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c7b1592292a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c7b1592292a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5c7b1592292a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5c7b1599b01f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5c7b1599b01f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7908c3e61aa4 - [INFO] [stdout] 45: 0x7908c3eeea64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- net::tcp::tests::listener_stream_connect stdout ---- [INFO] [stdout] [src/net/tcp.rs:360:28] TcpListener::bind(&addr) = Ok( [INFO] [stdout] TcpListener { [INFO] [stdout] observer: Observer { [INFO] [stdout] resource: TcpListener { [INFO] [stdout] addr: 127.0.0.1:65535, [INFO] [stdout] fd: 3, [INFO] [stdout] }, [INFO] [stdout] io_waker: IoWaker { [INFO] [stdout] token: Token( [INFO] [stdout] 1, [INFO] [stdout] ), [INFO] [stdout] readiness: 0, [INFO] [stdout] read_waker: AtomicWaker, [INFO] [stdout] write_waker: AtomicWaker, [INFO] [stdout] }, [INFO] [stdout] handle: Handle( [INFO] [stdout] (Weak), [INFO] [stdout] ), [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] ) [INFO] [stdout] [src/net/tcp.rs:390:28] TcpListener::bind(&addr) = Ok( [INFO] [stdout] TcpListener { [INFO] [stdout] observer: Observer { [INFO] [stdout] resource: TcpListener { [INFO] [stdout] addr: 127.0.0.1:61111, [INFO] [stdout] fd: 7, [INFO] [stdout] }, [INFO] [stdout] io_waker: IoWaker { [INFO] [stdout] token: Token( [INFO] [stdout] 2, [INFO] [stdout] ), [INFO] [stdout] readiness: 0, [INFO] [stdout] read_waker: AtomicWaker, [INFO] [stdout] write_waker: AtomicWaker, [INFO] [stdout] }, [INFO] [stdout] handle: Handle( [INFO] [stdout] (Weak), [INFO] [stdout] ), [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] ) [INFO] [stdout] [src/net/tcp.rs:399:26] TcpStream::connect(&addr).await = Ok( [INFO] [stdout] TcpStream { [INFO] [stdout] observer: Observer { [INFO] [stdout] resource: TcpStream { [INFO] [stdout] addr: 127.0.0.1:52890, [INFO] [stdout] peer: 127.0.0.1:65535, [INFO] [stdout] fd: 7, [INFO] [stdout] }, [INFO] [stdout] io_waker: IoWaker { [INFO] [stdout] token: Token( [INFO] [stdout] 2, [INFO] [stdout] ), [INFO] [stdout] readiness: 1, [INFO] [stdout] read_waker: AtomicWaker, [INFO] [stdout] write_waker: AtomicWaker, [INFO] [stdout] }, [INFO] [stdout] handle: Handle( [INFO] [stdout] (Weak), [INFO] [stdout] ), [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] ) [INFO] [stdout] [src/net/tcp.rs:372:26] TcpStream::connect(&addr).await = Err( [INFO] [stdout] Os { [INFO] [stdout] code: 104, [INFO] [stdout] kind: ConnectionReset, [INFO] [stdout] message: "Connection reset by peer", [INFO] [stdout] }, [INFO] [stdout] ) [INFO] [stdout] [INFO] [stdout] thread 'net::tcp::tests::listener_stream_connect' (18) panicked at src/net/tcp.rs:380:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok(Err(())) [INFO] [stdout] right: Ok(Ok(())) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c7b159c6ca2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c7b159c6ca2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c7b159c6ca2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c7b159c6ca2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c7b159d764f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c7b159d764f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5c7b159936f3 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c7b159936f3 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c7b1599fae2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c7b159a4b5f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c7b159a49f1 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c7b15931d2e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5c7b15931d2e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c7b159a516f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5c7b159a516f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c7b159a4fca - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c7b1599fc29 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c7b15987d8d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c7b159e0180 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5c7b159dff33 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x5c7b158cf339 - core::panicking::assert_failed::hb1c7fc8bc6371707 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x5c7b158d9c46 - threader::net::tcp::tests::listener_stream_connect::h65f6529e366fca51 [INFO] [stdout] at /opt/rustwide/workdir/src/net/tcp.rs:380:9 [INFO] [stdout] 22: 0x5c7b158da427 - threader::net::tcp::tests::listener_stream_connect::{{closure}}::h66daa766ffb798aa [INFO] [stdout] at /opt/rustwide/workdir/src/net/tcp.rs:354:33 [INFO] [stdout] 23: 0x5c7b158cb916 - core::ops::function::FnOnce::call_once::h50c8aa9d47f2b83c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5c7b15931b9b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5c7b15931b9b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c7b15945b8d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c7b15945b8d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5c7b15945b8d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c7b15945b8d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c7b15945b8d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c7b15945b8d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c7b15945b8d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c7b1591f0d4 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c7b1591f0d4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c7b1592292a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5c7b1592292a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5c7b1592292a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c7b1592292a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c7b1592292a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c7b1592292a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5c7b1592292a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5c7b1599b01f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5c7b1599b01f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7908c3e61aa4 - [INFO] [stdout] 45: 0x7908c3eeea64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] net::tcp::tests::connect_invalid_port [INFO] [stdout] net::tcp::tests::listener_stream_connect [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 2 failed; 3 ignored; 0 measured; 0 filtered out; finished in 4.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "85a59277c54fd4540ca9fe3249a31b46a39871b31989fde3b0e59cf0289751f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a59277c54fd4540ca9fe3249a31b46a39871b31989fde3b0e59cf0289751f3", kill_on_drop: false }` [INFO] [stdout] 85a59277c54fd4540ca9fe3249a31b46a39871b31989fde3b0e59cf0289751f3