[INFO] fetching crate ferrous_threads 0.1.1... [INFO] checking ferrous_threads-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ferrous_threads 0.1.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ferrous_threads 0.1.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a57fc051daad1fff7e892dcd077853cd84cc449b7dfcb5c315c349e53f3e2876 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a57fc051daad1fff7e892dcd077853cd84cc449b7dfcb5c315c349e53f3e2876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a57fc051daad1fff7e892dcd077853cd84cc449b7dfcb5c315c349e53f3e2876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a57fc051daad1fff7e892dcd077853cd84cc449b7dfcb5c315c349e53f3e2876", kill_on_drop: false }` [INFO] [stdout] a57fc051daad1fff7e892dcd077853cd84cc449b7dfcb5c315c349e53f3e2876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e8f70d424ec977e9a9fd2db8355386fa3d6e244cc0ec81c5fd6828bb62e290a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9e8f70d424ec977e9a9fd2db8355386fa3d6e244cc0ec81c5fd6828bb62e290a", kill_on_drop: false }` [INFO] [stderr] Checking canal v0.1.2 [INFO] [stderr] Checking ferrous_threads v0.1.1 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runner + Send + 'a` [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:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | let job = try!(jobs.recv()); [INFO] [stdout] | ^^^ [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] 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: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous_threads` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runner + Send + 'a` [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:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | let job = try!(jobs.recv()); [INFO] [stdout] | ^^^ [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 function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/thread_pool.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9e8f70d424ec977e9a9fd2db8355386fa3d6e244cc0ec81c5fd6828bb62e290a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8f70d424ec977e9a9fd2db8355386fa3d6e244cc0ec81c5fd6828bb62e290a", kill_on_drop: false }` [INFO] [stdout] 9e8f70d424ec977e9a9fd2db8355386fa3d6e244cc0ec81c5fd6828bb62e290a