[INFO] updating cached repository https://github.com/steshaw/rustlings [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] 06b46229ca0dd5b5fb874746d6ace8665151b11f [INFO] testing steshaw/rustlings against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteshaw%2Frustlings" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steshaw/rustlings 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/steshaw/rustlings [INFO] finished tweaking git repo https://github.com/steshaw/rustlings [INFO] tweaked toml for git repo https://github.com/steshaw/rustlings written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/steshaw/rustlings 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] e94dbb3122c2d142331430bb72774f079fd1b354c555c38432be4add2dd5d3ee [INFO] running `"docker" "start" "-a" "e94dbb3122c2d142331430bb72774f079fd1b354c555c38432be4add2dd5d3ee"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.5 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling notify v4.0.12 [INFO] [stderr] Compiling console v0.7.5 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rustlings v2.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `"docker" "inspect" "e94dbb3122c2d142331430bb72774f079fd1b354c555c38432be4add2dd5d3ee"` [INFO] running `"docker" "rm" "-f" "e94dbb3122c2d142331430bb72774f079fd1b354c555c38432be4add2dd5d3ee"` [INFO] [stdout] e94dbb3122c2d142331430bb72774f079fd1b354c555c38432be4add2dd5d3ee [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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] e5bb2dc065787dabb7e01857b51cf4c7c46d803f29fb40a07a3378efb758d3fa [INFO] running `"docker" "start" "-a" "e5bb2dc065787dabb7e01857b51cf4c7c46d803f29fb40a07a3378efb758d3fa"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling predicates v1.0.1 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling rustlings v2.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> examples/errorsn.rs:113:49 [INFO] [stderr] | [INFO] [stderr] 113 | f.write_str((self as &dyn error::Error).description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> examples/test1.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | let price_per_item = if (quantity > 40) { 1 } else { 2 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `test1` [INFO] [stderr] --> examples/test1.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / fn calculate_apple_price(quantity: i32) -> i32 { [INFO] [stderr] 12 | | let price_per_item = if (quantity > 40) { 1 } else { 2 }; [INFO] [stderr] 13 | | price_per_item * quantity [INFO] [stderr] 14 | | } [INFO] [stderr] ... | [INFO] [stderr] 27 | | assert_eq!(65, price2); [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/test1.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `rustlings`. [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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "e5bb2dc065787dabb7e01857b51cf4c7c46d803f29fb40a07a3378efb758d3fa"` [INFO] running `"docker" "rm" "-f" "e5bb2dc065787dabb7e01857b51cf4c7c46d803f29fb40a07a3378efb758d3fa"` [INFO] [stdout] e5bb2dc065787dabb7e01857b51cf4c7c46d803f29fb40a07a3378efb758d3fa