[INFO] updating cached repository https://github.com/huangqian/rust-in-action [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] f36881cede964f6008c95f60cb1004db4fba9cc2 [INFO] testing huangqian/rust-in-action against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangqian%2Frust-in-action" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huangqian/rust-in-action 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/huangqian/rust-in-action [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/huangqian/rust-in-action [INFO] tweaked toml for git repo https://github.com/huangqian/rust-in-action written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/huangqian/rust-in-action 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 5149b7a3e395d1c036d00dcb989c445eec35e0ed20a0cd2119de3e150c1f7d86 [INFO] running `"docker" "start" "-a" "5149b7a3e395d1c036d00dcb989c445eec35e0ed20a0cd2119de3e150c1f7d86"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling mysql v15.1.0 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling combine v3.5.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling atoi v0.3.1 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling flate2 v1.0.4 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.12 [INFO] [stderr] Compiling twox-hash v1.1.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling mysql_common v0.15.0 [INFO] [stderr] Compiling croaring-sys v0.4.1 [INFO] [stderr] Compiling croaring v0.4.1 [INFO] [stderr] Compiling rust-in-action v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `user1` [INFO] [stderr] --> src/main.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | let user1 = User{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `User` [INFO] [stderr] --> src/main.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | struct User{ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `struct_example` [INFO] [stderr] --> src/main.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | fn struct_example(){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `"docker" "inspect" "5149b7a3e395d1c036d00dcb989c445eec35e0ed20a0cd2119de3e150c1f7d86"` [INFO] running `"docker" "rm" "-f" "5149b7a3e395d1c036d00dcb989c445eec35e0ed20a0cd2119de3e150c1f7d86"` [INFO] [stdout] 5149b7a3e395d1c036d00dcb989c445eec35e0ed20a0cd2119de3e150c1f7d86 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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] d0c620b0743c9cd12f898b3209ade5fd074310c96c084998f667cbc5b959f284 [INFO] running `"docker" "start" "-a" "d0c620b0743c9cd12f898b3209ade5fd074310c96c084998f667cbc5b959f284"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-in-action v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `s2` [INFO] [stderr] --> examples/ownership.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let s2 = s1; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `IpAddrKind` [INFO] [stderr] --> examples/enums.rs:7:6 [INFO] [stderr] | [INFO] [stderr] 7 | enum IpAddrKind{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `borrow` [INFO] [stderr] --> examples/borrow.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / #[cfg(test)] [INFO] [stderr] 16 | | mod borrow_reference_pointer_test { [INFO] [stderr] 17 | | [INFO] [stderr] 18 | | [INFO] [stderr] ... | [INFO] [stderr] 41 | | [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/borrow.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 `rust-in-action`. [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: unused variable: `arr` [INFO] [stderr] --> examples/compile-time-function-execution.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let arr = [0, init_len()]; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Structure` in this scope [INFO] [stderr] --> examples/structs.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | println!("{:?}", Structure(3)); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user1` [INFO] [stderr] --> src/main.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | let user1 = User{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `User` [INFO] [stderr] --> src/main.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | struct User{ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `struct_example` [INFO] [stderr] --> src/main.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | fn struct_example(){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found struct `LinkedList` [INFO] [stderr] --> examples/collection/list.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | LinkedList [INFO] [stderr] | ^^^^^^^^^^ did you mean `LinkedList { /* fields */ }`? [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0423`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "d0c620b0743c9cd12f898b3209ade5fd074310c96c084998f667cbc5b959f284"` [INFO] running `"docker" "rm" "-f" "d0c620b0743c9cd12f898b3209ade5fd074310c96c084998f667cbc5b959f284"` [INFO] [stdout] d0c620b0743c9cd12f898b3209ade5fd074310c96c084998f667cbc5b959f284