[INFO] fetching crate actors 0.1.0... [INFO] checking actors-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate actors 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate actors 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actors 0.1.0 [INFO] finished tweaking crates.io crate actors 0.1.0 [INFO] tweaked toml for crates.io crate actors 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9ebbbd1f6c405884b69cc196b34b13f61ac664de73c8824e37a4b7d69311ded [INFO] running `Command { std: "docker" "start" "-a" "d9ebbbd1f6c405884b69cc196b34b13f61ac664de73c8824e37a4b7d69311ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ebbbd1f6c405884b69cc196b34b13f61ac664de73c8824e37a4b7d69311ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ebbbd1f6c405884b69cc196b34b13f61ac664de73c8824e37a4b7d69311ded", kill_on_drop: false }` [INFO] [stdout] d9ebbbd1f6c405884b69cc196b34b13f61ac664de73c8824e37a4b7d69311ded [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47ecaa32067adcf505204b3125a0b70235ee18e65105f727d52e1146391527d5 [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" "47ecaa32067adcf505204b3125a0b70235ee18e65105f727d52e1146391527d5", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Checking actors v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | impl Actor for FnMut(Message) + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Message) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let mut actor: &mut Actor = &mut counting_actor; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Actor` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | impl Actor for FnMut(Message) + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Message) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Message` cannot be sent between threads safely [INFO] [stdout] --> src/channel/mod.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ActorCell> { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Message` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Actor` [INFO] [stdout] --> src/lib.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Actor: Send { [INFO] [stdout] | ^^^^ required by this bound in `Actor` [INFO] [stdout] help: consider restricting type parameter `Message` [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ActorCell> { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actors` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `Message` cannot be sent between threads safely [INFO] [stdout] --> src/channel/mod.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ActorCell> { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Message` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Actor` [INFO] [stdout] --> src/lib.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Actor: Send { [INFO] [stdout] | ^^^^ required by this bound in `Actor` [INFO] [stdout] help: consider restricting type parameter `Message` [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ActorCell> { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "47ecaa32067adcf505204b3125a0b70235ee18e65105f727d52e1146391527d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ecaa32067adcf505204b3125a0b70235ee18e65105f727d52e1146391527d5", kill_on_drop: false }` [INFO] [stdout] 47ecaa32067adcf505204b3125a0b70235ee18e65105f727d52e1146391527d5