[INFO] updating cached repository https://github.com/luojia65/rust-test [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] be3889db3fca84ab06654127d8d72ce0255e46a6 [INFO] testing luojia65/rust-test against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Frust-test" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/rust-test on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-8/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.44.0" "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] 4112a54c35200321b57533586617c109c36f1446239e24e519597db2556d81b4 [INFO] running `"docker" "start" "-a" "4112a54c35200321b57533586617c109c36f1446239e24e519597db2556d81b4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling 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] warning: field is never read: `h` [INFO] [stderr] --> src/bin/u256-parse.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | h: u128, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `l` [INFO] [stderr] --> src/bin/u256-parse.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | l: u128, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/bin/u256-parse.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | fn new(decimal: &str) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> src/bin/async-two-lazer-guns.rs:83:1 [INFO] [stderr] | [INFO] [stderr] 83 | async fn main() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433, E0752. [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] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4112a54c35200321b57533586617c109c36f1446239e24e519597db2556d81b4"` [INFO] running `"docker" "rm" "-f" "4112a54c35200321b57533586617c109c36f1446239e24e519597db2556d81b4"` [INFO] [stdout] 4112a54c35200321b57533586617c109c36f1446239e24e519597db2556d81b4