[INFO] crate stage 0.2.0 is already in cache [INFO] testing stage-0.2.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate stage 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate stage 0.2.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate stage 0.2.0 [INFO] finished tweaking crates.io crate stage 0.2.0 [INFO] tweaked toml for crates.io crate stage 0.2.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate stage 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mirai v0.0.4 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e84d6e46e824d53dcd619a06ed20006faae5186f23312c095505bbb80ab36cf [INFO] running `"docker" "start" "-a" "1e84d6e46e824d53dcd619a06ed20006faae5186f23312c095505bbb80ab36cf"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling tracing v0.1.13 [INFO] [stderr] Compiling ahash v0.3.2 [INFO] [stderr] Compiling dashmap v3.7.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling mirai v0.0.4 [INFO] [stderr] Compiling stage v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.35s [INFO] running `"docker" "inspect" "1e84d6e46e824d53dcd619a06ed20006faae5186f23312c095505bbb80ab36cf"` [INFO] running `"docker" "rm" "-f" "1e84d6e46e824d53dcd619a06ed20006faae5186f23312c095505bbb80ab36cf"` [INFO] [stdout] 1e84d6e46e824d53dcd619a06ed20006faae5186f23312c095505bbb80ab36cf [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c908a243591d6108b28fbb27a8e3a0ddec13e4756392a49ed033dac1572ddd42 [INFO] running `"docker" "start" "-a" "c908a243591d6108b28fbb27a8e3a0ddec13e4756392a49ed033dac1572ddd42"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling sharded-slab v0.0.8 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling tracing-serde v0.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.3 [INFO] [stderr] Compiling stage v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot find macro `actor_msg` in this scope [INFO] [stderr] --> examples/tcp.rs:136:1 [INFO] [stderr] | [INFO] [stderr] 136 | actor_msg!(Continue, TcpRecvMsg, TcpSendCmd, ReadingTcp, WritingTcp); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> examples/tcp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::io::Error` [INFO] [stderr] --> examples/tcp.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::io::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncRead`, `Result as FutIoResult` [INFO] [stderr] --> examples/tcp.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | io::{AsyncRead, AsyncReadExt, Result as FutIoResult}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpConnection` [INFO] [stderr] --> examples/tcp.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | use mirai::tcp::{TcpConnection, TcpListenerStream, TcpRecvStream, TcpSendStream}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MsgError` [INFO] [stderr] --> examples/tcp.rs:12:80 [INFO] [stderr] | [INFO] [stderr] 12 | Actor, ActorCtx, ActorError, ActorRef, ActorResult, BuildActorOp, Message, MsgError, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `tcp` [INFO] [stderr] --> examples/tcp.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::net::SocketAddr; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | use futures::io::Error; [INFO] [stderr] 4 | | use futures::{ [INFO] [stderr] ... | [INFO] [stderr] 135 | | [INFO] [stderr] 136 | | actor_msg!(Continue, TcpRecvMsg, TcpSendCmd, ReadingTcp, WritingTcp); [INFO] [stderr] | |_____________________________________________________________________^ consider adding a `main` function to `examples/tcp.rs` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Continue: std::convert::From` is not satisfied [INFO] [stderr] --> examples/tcp.rs:47:31 [INFO] [stderr] | [INFO] [stderr] 47 | let _ = ctx.this.send(Continue); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `std::convert::From` [INFO] [stderr] | help: consider borrowing here: `&Continue` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `stage::actors::message::Message` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `Continue` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `TcpRecvMsg: std::convert::From` is not satisfied [INFO] [stderr] --> examples/tcp.rs:50:33 [INFO] [stderr] | [INFO] [stderr] 50 | match self.handler.send(msg) { [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `std::convert::From` [INFO] [stderr] | help: consider borrowing here: `&msg` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `stage::actors::message::Message` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `TcpRecvMsg` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `TcpSendCmd: stage::traits::ActorMessage` is not satisfied [INFO] [stderr] --> examples/tcp.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | if let Some(cmd) = msg.try_cast::() { [INFO] [stderr] | ^^^^^^^^ the trait `stage::traits::ActorMessage` is not implemented for `TcpSendCmd` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `TcpRecvMsg: stage::traits::ActorMessage` is not satisfied [INFO] [stderr] --> examples/tcp.rs:105:32 [INFO] [stderr] | [INFO] [stderr] 105 | if let Some(msg) = msg.try_cast::() { [INFO] [stderr] | ^^^^^^^^ the trait `stage::traits::ActorMessage` is not implemented for `TcpRecvMsg` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `TcpSendCmd: std::convert::From` is not satisfied [INFO] [stderr] --> examples/tcp.rs:107:35 [INFO] [stderr] | [INFO] [stderr] 107 | self.tx.unwrap().send(TcpSendCmd::Send(msg.into_bytes())).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected an implementor of trait `std::convert::From` [INFO] [stderr] | help: consider borrowing here: `&TcpSendCmd::Send(msg.into_bytes())` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `stage::actors::message::Message` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `TcpSendCmd` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ReadingTcp: stage::traits::ActorMessage` is not satisfied [INFO] [stderr] --> examples/tcp.rs:109:39 [INFO] [stderr] | [INFO] [stderr] 109 | } else if let Some(msg) = msg.try_cast::() { [INFO] [stderr] | ^^^^^^^^ the trait `stage::traits::ActorMessage` is not implemented for `ReadingTcp` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `WritingTcp: stage::traits::ActorMessage` is not satisfied [INFO] [stderr] --> examples/tcp.rs:112:39 [INFO] [stderr] | [INFO] [stderr] 112 | } else if let Some(msg) = msg.try_cast::() { [INFO] [stderr] | ^^^^^^^^ the trait `stage::traits::ActorMessage` is not implemented for `WritingTcp` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/tcp.rs:84:85 [INFO] [stderr] | [INFO] [stderr] 84 | pub async fn handle(mut self, ctx: ActorCtx, msg: Message) -> ActorResult { [INFO] [stderr] | _____________________________________________________________________________________^ [INFO] [stderr] 85 | | // Await each incoming connection. The Actor will use no CPU time until the system gives the [INFO] [stderr] 86 | | // event letting us know we have a connection. [INFO] [stderr] 87 | | let incoming = match self.listener.next().await.unwrap() { [INFO] [stderr] ... | [INFO] [stderr] 99 | | let rx_actor_state = TcpRecvActor { conn: rx, handler: echo_actor.clone() }; [INFO] [stderr] 100 | | } [INFO] [stderr] | |_____^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `stage`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "c908a243591d6108b28fbb27a8e3a0ddec13e4756392a49ed033dac1572ddd42"` [INFO] running `"docker" "rm" "-f" "c908a243591d6108b28fbb27a8e3a0ddec13e4756392a49ed033dac1572ddd42"` [INFO] [stdout] c908a243591d6108b28fbb27a8e3a0ddec13e4756392a49ed033dac1572ddd42