[INFO] updating cached repository https://github.com/SachinMaharana/sandbox-rust [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] b60a5f9dcaac956dead6f7fb54a430bd0e98c2a4 [INFO] testing SachinMaharana/sandbox-rust against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSachinMaharana%2Fsandbox-rust" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SachinMaharana/sandbox-rust 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 git repo https://github.com/SachinMaharana/sandbox-rust [INFO] finished tweaking git repo https://github.com/SachinMaharana/sandbox-rust [INFO] tweaked toml for git repo https://github.com/SachinMaharana/sandbox-rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/SachinMaharana/sandbox-rust 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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 0a08d4a2fefab8a105e4648c77f06245c5c121c8bfa6306142d03d38bbb26d18 [INFO] running `"docker" "start" "-a" "0a08d4a2fefab8a105e4648c77f06245c5c121c8bfa6306142d03d38bbb26d18"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling isahc v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling attohttpc v0.12.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling async-log v1.1.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling tokio v0.2.17 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling tracing v0.1.13 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling tracing-futures v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling sluice v0.5.2 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling http-client v1.1.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling telegram-bot-raw v0.7.0 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling surf v2.0.0-alpha.0 [INFO] [stderr] Compiling femme v1.3.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling sparkpost v0.5.3 [INFO] [stderr] Compiling telegram-bot v0.7.0 [INFO] [stderr] Compiling sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/bin/pr-error.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | use std::io::{self, BufRead}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `GenError` [INFO] [stderr] --> src/bin/pr-error.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | type GenError = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `GenResult` [INFO] [stderr] --> src/bin/pr-error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | type GenResult = Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_numbers` [INFO] [stderr] --> src/bin/pr-error.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn read_numbers(file: &mut dyn BufRead) -> GenResult> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/bin/from.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | let x: String = String::from("Hello"); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | let b = Box::new(5); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/bin/docs1.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | #![warn(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: &std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | println!("b={}", b); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | println!("b={}", b); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | let _list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil)))))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:10:42 [INFO] [stderr] | [INFO] [stderr] 10 | let _list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil)))))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:10:59 [INFO] [stderr] | [INFO] [stderr] 10 | let _list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil)))))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let z = Box::new(x); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type uses owned (Box type) pointers: std::boxed::Box [INFO] [stderr] --> src/bin/docs1.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | assert_eq!(5, *z); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `test` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `src/bin/test.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `sandbox`. [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" "0a08d4a2fefab8a105e4648c77f06245c5c121c8bfa6306142d03d38bbb26d18"` [INFO] running `"docker" "rm" "-f" "0a08d4a2fefab8a105e4648c77f06245c5c121c8bfa6306142d03d38bbb26d18"` [INFO] [stdout] 0a08d4a2fefab8a105e4648c77f06245c5c121c8bfa6306142d03d38bbb26d18