[INFO] fetching crate ferrous_threads 0.1.1... [INFO] checking ferrous_threads-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ferrous_threads 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate ferrous_threads 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ferrous_threads 0.1.1 [INFO] finished tweaking crates.io crate ferrous_threads 0.1.1 [INFO] tweaked toml for crates.io crate ferrous_threads 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding bit-vec v0.4.4 (available: v0.8.0) [INFO] [stderr] Adding canal v0.1.2 (available: v0.1.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded canal v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f7f0115423c0701356f87cf8dbfeeeaae75f87b9ec3d4425a508ae6d5b339d0 [INFO] running `Command { std: "docker" "start" "-a" "6f7f0115423c0701356f87cf8dbfeeeaae75f87b9ec3d4425a508ae6d5b339d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f7f0115423c0701356f87cf8dbfeeeaae75f87b9ec3d4425a508ae6d5b339d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7f0115423c0701356f87cf8dbfeeeaae75f87b9ec3d4425a508ae6d5b339d0", kill_on_drop: false }` [INFO] [stdout] 6f7f0115423c0701356f87cf8dbfeeeaae75f87b9ec3d4425a508ae6d5b339d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fee7e78dd41526d473704baf2b737e5c9723d01811dc191f8835d94e74bd5bac [INFO] running `Command { std: "docker" "start" "-a" "fee7e78dd41526d473704baf2b737e5c9723d01811dc191f8835d94e74bd5bac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking canal v0.1.2 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking ferrous_threads v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | Task::Data(TaskData { task_func: box func }) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 41 | Task::Data(TaskData { task_func: Box::new(func) }) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let task = TaskData { task_func: box task_closure }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 149 | let task = TaskData { task_func: Box::new(task_closure) }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | let int_task = TaskData { task_func: box task_closure }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 161 | let int_task = TaskData { task_func: Box::new(task_closure) }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | let task = TaskData { task_func: box task_closure }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 166 | let task = TaskData { task_func: Box::new(task_closure) }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | let f = box move || { [INFO] [stdout] | _________________^ [INFO] [stdout] 274 | | sn.send(0u8).unwrap(); [INFO] [stdout] 275 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 273 ~ let f = Box::new(move || { [INFO] [stdout] 274 | sn.send(0u8).unwrap(); [INFO] [stdout] 275 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let f = box move || { [INFO] [stdout] | _________________^ [INFO] [stdout] 287 | | sn.send(0u8).unwrap(); [INFO] [stdout] 288 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 286 ~ let f = Box::new(move || { [INFO] [stdout] 287 | sn.send(0u8).unwrap(); [INFO] [stdout] 288 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | let f1 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 311 | | sn1.send(0u8).unwrap(); [INFO] [stdout] 312 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 310 ~ let f1 = Box::new(move || { [INFO] [stdout] 311 | sn1.send(0u8).unwrap(); [INFO] [stdout] 312 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let f2 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 315 | | panic!(); [INFO] [stdout] 316 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 314 ~ let f2 = Box::new(move || { [INFO] [stdout] 315 | panic!(); [INFO] [stdout] 316 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:348:18 [INFO] [stdout] | [INFO] [stdout] 348 | let f1 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 349 | | sn1.send(0u8).unwrap(); [INFO] [stdout] 350 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 348 ~ let f1 = Box::new(move || { [INFO] [stdout] 349 | sn1.send(0u8).unwrap(); [INFO] [stdout] 350 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | let f3 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 353 | | sn3.send(0u8).unwrap(); [INFO] [stdout] 354 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 352 ~ let f3 = Box::new(move || { [INFO] [stdout] 353 | sn3.send(0u8).unwrap(); [INFO] [stdout] 354 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 356 | let f2 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 357 | | panic!(); [INFO] [stdout] 358 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 356 ~ let f2 = Box::new(move || { [INFO] [stdout] 357 | panic!(); [INFO] [stdout] 358 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | Task::Data(TaskData { task_func: box func }) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 41 | Task::Data(TaskData { task_func: Box::new(func) }) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let task = TaskData { task_func: box task_closure }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 149 | let task = TaskData { task_func: Box::new(task_closure) }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | let int_task = TaskData { task_func: box task_closure }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 161 | let int_task = TaskData { task_func: Box::new(task_closure) }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/task_runner.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | let task = TaskData { task_func: box task_closure }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 166 | let task = TaskData { task_func: Box::new(task_closure) }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | let f = box move || { [INFO] [stdout] | _________________^ [INFO] [stdout] 274 | | sn.send(0u8).unwrap(); [INFO] [stdout] 275 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 273 ~ let f = Box::new(move || { [INFO] [stdout] 274 | sn.send(0u8).unwrap(); [INFO] [stdout] 275 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let f = box move || { [INFO] [stdout] | _________________^ [INFO] [stdout] 287 | | sn.send(0u8).unwrap(); [INFO] [stdout] 288 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 286 ~ let f = Box::new(move || { [INFO] [stdout] 287 | sn.send(0u8).unwrap(); [INFO] [stdout] 288 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | let f1 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 311 | | sn1.send(0u8).unwrap(); [INFO] [stdout] 312 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 310 ~ let f1 = Box::new(move || { [INFO] [stdout] 311 | sn1.send(0u8).unwrap(); [INFO] [stdout] 312 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let f2 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 315 | | panic!(); [INFO] [stdout] 316 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 314 ~ let f2 = Box::new(move || { [INFO] [stdout] 315 | panic!(); [INFO] [stdout] 316 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:348:18 [INFO] [stdout] | [INFO] [stdout] 348 | let f1 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 349 | | sn1.send(0u8).unwrap(); [INFO] [stdout] 350 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 348 ~ let f1 = Box::new(move || { [INFO] [stdout] 349 | sn1.send(0u8).unwrap(); [INFO] [stdout] 350 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | let f3 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 353 | | sn3.send(0u8).unwrap(); [INFO] [stdout] 354 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 352 ~ let f3 = Box::new(move || { [INFO] [stdout] 353 | sn3.send(0u8).unwrap(); [INFO] [stdout] 354 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/thread_pool.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 356 | let f2 = box move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 357 | | panic!(); [INFO] [stdout] 358 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 356 ~ let f2 = Box::new(move || { [INFO] [stdout] 357 | panic!(); [INFO] [stdout] 358 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/task_runner.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/thread_pool.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `catch_panic` in module `thread` [INFO] [stdout] --> src/thread_pool.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | let res = thread::catch_panic(move || { job.run(); }); [INFO] [stdout] | ^^^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/thread_pool.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | try!(self.free_chan.send(thread)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/thread_pool.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | try!(res_sender.send(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/thread_pool.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | let job = try!(jobs.recv()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(drain)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `fnbox` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(fnbox)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `catch_panic` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(catch_panic)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/task_runner.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/thread_pool.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/task_runner.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | task_func: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | task_func: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `catch_panic` in module `thread` [INFO] [stdout] --> src/thread_pool.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | let res = thread::catch_panic(move || { job.run(); }); [INFO] [stdout] | ^^^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/thread_pool.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | try!(self.free_chan.send(thread)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/thread_pool.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | try!(res_sender.send(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/thread_pool.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | let job = try!(jobs.recv()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/thread_pool.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(drain)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `fnbox` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(fnbox)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `catch_panic` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(catch_panic)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/task_runner.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | task_func: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | task_func: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread_pool.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub type Proc<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub type Proc<'a> = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread_pool.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub type Proc<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub type Proc<'a> = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous_threads` (lib) due to 18 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ferrous_threads` (lib test) due to 18 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fee7e78dd41526d473704baf2b737e5c9723d01811dc191f8835d94e74bd5bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee7e78dd41526d473704baf2b737e5c9723d01811dc191f8835d94e74bd5bac", kill_on_drop: false }` [INFO] [stdout] fee7e78dd41526d473704baf2b737e5c9723d01811dc191f8835d94e74bd5bac