[INFO] cloning repository https://github.com/luojia65/rust-test [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Frust-test"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Frust-test'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] be3889db3fca84ab06654127d8d72ce0255e46a6 [INFO] checking luojia65/rust-test against try#f88e9a4452e792c29632101b348a1df9876d45cd for pr-70087 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Frust-test" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/rust-test on toolchain f88e9a4452e792c29632101b348a1df9876d45cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/luojia65/rust-test [INFO] finished tweaking git repo https://github.com/luojia65/rust-test [INFO] tweaked toml for git repo https://github.com/luojia65/rust-test written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/rust-test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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=forbid" "-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" "+f88e9a4452e792c29632101b348a1df9876d45cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 235272e2300fc39578aa5c7e35065e8588d428b8c4a54c92e23a713cee1af7ea [INFO] running `"docker" "start" "-a" "235272e2300fc39578aa5c7e35065e8588d428b8c4a54c92e23a713cee1af7ea"` [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking num-complex v0.2.4 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking num-rational v0.2.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/bin/async-two-lazer-guns.rs:82:3 [INFO] [stderr] | [INFO] [stderr] 82 | #[async_std::main] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stderr] --> src/bin/async-two-lazer-guns.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | async fn main() { [INFO] [stderr] | ^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `rust-test`. [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] warning: struct is never constructed: `U256` [INFO] [stderr] --> src/bin/pollard-rho-2.rs:162:8 [INFO] [stderr] | [INFO] [stderr] 162 | struct U256 { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/bin/pollard-rho-2.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | fn new(decimal: &str) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "235272e2300fc39578aa5c7e35065e8588d428b8c4a54c92e23a713cee1af7ea"` [INFO] running `"docker" "rm" "-f" "235272e2300fc39578aa5c7e35065e8588d428b8c4a54c92e23a713cee1af7ea"` [INFO] [stdout] 235272e2300fc39578aa5c7e35065e8588d428b8c4a54c92e23a713cee1af7ea