[INFO] updating cached repository https://github.com/huangqian/rust-in-action [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f36881cede964f6008c95f60cb1004db4fba9cc2 [INFO] testing huangqian/rust-in-action against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangqian%2Frust-in-action" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huangqian/rust-in-action on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f1295d66a829da1de4edae68b7130a08da04c254795d3be82bf792d3cd286d2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3f1295d66a829da1de4edae68b7130a08da04c254795d3be82bf792d3cd286d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f1295d66a829da1de4edae68b7130a08da04c254795d3be82bf792d3cd286d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f1295d66a829da1de4edae68b7130a08da04c254795d3be82bf792d3cd286d2", kill_on_drop: false }` [INFO] [stdout] 3f1295d66a829da1de4edae68b7130a08da04c254795d3be82bf792d3cd286d2 [INFO] running `Command { std: "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c76aed2011baccc1dde26129292268052396e4fcf50f1b3fbcadac8f9879a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e7c76aed2011baccc1dde26129292268052396e4fcf50f1b3fbcadac8f9879a1", kill_on_drop: false }` [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling mysql v15.1.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling atoi v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling combine v3.5.2 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling flate2 v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling twox-hash v1.1.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling mysql_common v0.15.0 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [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] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let user1 = User{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct User{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `struct_example` [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn struct_example(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "e7c76aed2011baccc1dde26129292268052396e4fcf50f1b3fbcadac8f9879a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c76aed2011baccc1dde26129292268052396e4fcf50f1b3fbcadac8f9879a1", kill_on_drop: false }` [INFO] [stdout] e7c76aed2011baccc1dde26129292268052396e4fcf50f1b3fbcadac8f9879a1 [INFO] running `Command { std: "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9946e23bea3c59b1552f2ba742054f8a54ea4841fb93e46cd3a71fde404a7a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9946e23bea3c59b1552f2ba742054f8a54ea4841fb93e46cd3a71fde404a7a7", kill_on_drop: false }` [INFO] [stderr] Compiling rust-in-action v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `box` [INFO] [stdout] --> examples/box.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[cfg(test)] [INFO] [stdout] 2 | | mod box_test { [INFO] [stdout] 3 | | use box_test::List::{Cons, Nil}; [INFO] [stdout] 4 | | use MyBox; [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/box.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let user1 = User{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> examples/match.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let one = increment(None); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct User{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: function is never used: `struct_example` [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn struct_example(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alabama` [INFO] [stdout] --> examples/match.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nickel` [INFO] [stdout] --> examples/match.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dime` [INFO] [stdout] --> examples/match.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f2` [INFO] [stdout] --> examples/copy.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let f2 = f1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/function-pointer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let a = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/function-pointer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let b = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> examples/redis.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene, decl_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Commands` [INFO] [stdout] --> examples/redis.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::Commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `redis` [INFO] [stdout] --> examples/redis.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature(proc_macro_hygiene, decl_macro)] [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | extern crate redis; [INFO] [stdout] ... | [INFO] [stdout] 41 | | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/redis.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e9946e23bea3c59b1552f2ba742054f8a54ea4841fb93e46cd3a71fde404a7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9946e23bea3c59b1552f2ba742054f8a54ea4841fb93e46cd3a71fde404a7a7", kill_on_drop: false }` [INFO] [stdout] e9946e23bea3c59b1552f2ba742054f8a54ea4841fb93e46cd3a71fde404a7a7