[INFO] updating cached repository https://github.com/sabahtalateh/hello_async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cedd7306a8da53fcd0028f9ab8c98329d5003219 [INFO] testing sabahtalateh/hello_async against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Fhello_async" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sabahtalateh/hello_async on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sabahtalateh/hello_async [INFO] finished tweaking git repo https://github.com/sabahtalateh/hello_async [INFO] tweaked toml for git repo https://github.com/sabahtalateh/hello_async written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/sabahtalateh/hello_async already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab283526397f972421d7613ee305def3129143c2211a311a20a2f0791a4eb174 [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" "ab283526397f972421d7613ee305def3129143c2211a311a20a2f0791a4eb174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab283526397f972421d7613ee305def3129143c2211a311a20a2f0791a4eb174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab283526397f972421d7613ee305def3129143c2211a311a20a2f0791a4eb174", kill_on_drop: false }` [INFO] [stdout] ab283526397f972421d7613ee305def3129143c2211a311a20a2f0791a4eb174 [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" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bafd6fc7e05b4f547bf792fd3499ed7990b79387eb06274b8e53ab0b4f92f955 [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" "bafd6fc7e05b4f547bf792fd3499ed7990b79387eb06274b8e53ab0b4f92f955", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling hello_async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `struct_lines_codec` [INFO] [stdout] --> src/bin/struct_lines_codec.rs:1:2 [INFO] [stdout] | [INFO] [stdout] 1 | [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/struct_lines_codec.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_async`. [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[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/bin/tokio_echo.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(amount, _, _) => println!("wrote {} bytes", amount), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 1 field, found 3 [INFO] [stdout] | [INFO] [stdout] help: missing parenthesis [INFO] [stdout] | [INFO] [stdout] 33 | Ok((amount, _, _)) => println!("wrote {} bytes", amount), [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/tokio_read_timeout.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/bin/tokio_ping_pong.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{future, Future, Sink, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/bin/tokio_ping_pong.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/tokio_functional.rs:72:61 [INFO] [stdout] | [INFO] [stdout] 72 | fn with_future>(f: F) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/tokio_functional.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / get_data().and_then(|data| { [INFO] [stdout] 17 | | dst.push(data); [INFO] [stdout] 18 | | Ok(()) [INFO] [stdout] 19 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_exact` [INFO] [stdout] --> src/bin/tokio_async_read.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn read_exact(reader: R, buffer: T) -> ReadExact [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/tokio_spawn_cout_bytes_read.rs:88:57 [INFO] [stdout] | [INFO] [stdout] 88 | ... tx.send(buf.len()).map_err(|e| io::ErrorKind::Other.into()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `>> as futures::future::Future>::Item == (std::time::Duration, tokio_sync::mpsc::bounded::Sender>)` [INFO] [stdout] --> src/bin/tokio_ping_pong.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> impl Future), Error = ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `tokio_sync::mpsc::bounded::Sender`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected type `tokio_sync::mpsc::bounded::Sender>` [INFO] [stdout] found tuple `(std::time::Duration, tokio_sync::mpsc::bounded::Sender>)` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `>> as futures::future::Future>::Error == ()` [INFO] [stdout] --> src/bin/tokio_ping_pong.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> impl Future), Error = ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `tokio_sync::mpsc::bounded::SendError`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as futures::future::Future>::Item == ()` [INFO] [stdout] --> src/bin/tokio_ping_pong.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | tokio::spawn(lazy(|| rtt(tx))) [INFO] [stdout] | ^^^^^^^^^^^^ expected `()`, found tuple [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.22/src/executor/mod.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | where F: Future + 'static + Send [INFO] [stdout] | --------- required by this bound in `tokio::executor::spawn` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(std::time::Duration, tokio_sync::mpsc::bounded::Sender>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/tokio_ping_pong.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | tokio::spawn(lazy(|| rtt(tx))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found struct `tokio::executor::Spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bafd6fc7e05b4f547bf792fd3499ed7990b79387eb06274b8e53ab0b4f92f955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafd6fc7e05b4f547bf792fd3499ed7990b79387eb06274b8e53ab0b4f92f955", kill_on_drop: false }` [INFO] [stdout] bafd6fc7e05b4f547bf792fd3499ed7990b79387eb06274b8e53ab0b4f92f955