[INFO] updating cached repository https://github.com/cryslith/cherry [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] 0defca268bb8d7dc71f852647d53910b4bddb249 [INFO] testing cryslith/cherry against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcryslith%2Fcherry" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cryslith/cherry 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/cryslith/cherry [INFO] finished tweaking git repo https://github.com/cryslith/cherry [INFO] tweaked toml for git repo https://github.com/cryslith/cherry written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/cryslith/cherry 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] aec6d88810fc64b689b1d2a650212db09234fca567bfd523f35060559631301d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "aec6d88810fc64b689b1d2a650212db09234fca567bfd523f35060559631301d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling metrics v0.11.1 [INFO] [stderr] Compiling metrics-core v0.5.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling debug_stub_derive v0.3.0 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling pem v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rust_decimal v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling jsonwebtoken v7.1.0 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling mobc v0.5.7 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling tokio-rustls v0.12.2 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling actix-rt v1.1.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling rusqlite v0.20.0 [INFO] [stderr] Compiling quaint v0.1.13 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling cherry v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: struct is never constructed: `Controller` [INFO] [stderr] --> src/control/mod.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Controller [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `request` [INFO] [stderr] --> src/control/mod.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | pub async fn request(&self, repo: &Repository, pr: i64) -> Result<(), ControllerError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `initiate` [INFO] [stderr] --> src/control/mod.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | pub async fn initiate(&self, repo: &Repository, pr: i64) -> Result<(), ControllerError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `construct` [INFO] [stderr] --> src/control/mod.rs:204:16 [INFO] [stderr] | [INFO] [stderr] 204 | pub async fn construct(&self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `test` [INFO] [stderr] --> src/control/mod.rs:208:16 [INFO] [stderr] | [INFO] [stderr] 208 | pub async fn test(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `complete` [INFO] [stderr] --> src/control/mod.rs:212:10 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn complete(&self) -> LocalBoxFuture<'_, ()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cancel` [INFO] [stderr] --> src/control/mod.rs:216:16 [INFO] [stderr] | [INFO] [stderr] 216 | pub async fn cancel(&self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `poll` [INFO] [stderr] --> src/control/mod.rs:220:16 [INFO] [stderr] | [INFO] [stderr] 220 | pub async fn poll(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 34s [INFO] running `"docker" "inspect" "aec6d88810fc64b689b1d2a650212db09234fca567bfd523f35060559631301d"` [INFO] running `"docker" "rm" "-f" "aec6d88810fc64b689b1d2a650212db09234fca567bfd523f35060559631301d"` [INFO] [stdout] aec6d88810fc64b689b1d2a650212db09234fca567bfd523f35060559631301d [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 428628b4e178165ea6b81919696164cc8ec4061d02664cea566a523e88df57fc [INFO] running `"docker" "start" "-a" "428628b4e178165ea6b81919696164cc8ec4061d02664cea566a523e88df57fc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cherry v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: struct is never constructed: `Controller` [INFO] [stderr] --> src/control/mod.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Controller [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `request` [INFO] [stderr] --> src/control/mod.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | pub async fn request(&self, repo: &Repository, pr: i64) -> Result<(), ControllerError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `initiate` [INFO] [stderr] --> src/control/mod.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | pub async fn initiate(&self, repo: &Repository, pr: i64) -> Result<(), ControllerError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `construct` [INFO] [stderr] --> src/control/mod.rs:204:16 [INFO] [stderr] | [INFO] [stderr] 204 | pub async fn construct(&self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `test` [INFO] [stderr] --> src/control/mod.rs:208:16 [INFO] [stderr] | [INFO] [stderr] 208 | pub async fn test(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `complete` [INFO] [stderr] --> src/control/mod.rs:212:10 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn complete(&self) -> LocalBoxFuture<'_, ()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cancel` [INFO] [stderr] --> src/control/mod.rs:216:16 [INFO] [stderr] | [INFO] [stderr] 216 | pub async fn cancel(&self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `poll` [INFO] [stderr] --> src/control/mod.rs:220:16 [INFO] [stderr] | [INFO] [stderr] 220 | pub async fn poll(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0603]: struct import `Repository` is private [INFO] [stderr] --> src/github/webhook/mod.rs:83:34 [INFO] [stderr] | [INFO] [stderr] 83 | use crate::github::client::Repository; [INFO] [stderr] | ^^^^^^^^^^ private struct import [INFO] [stderr] | [INFO] [stderr] note: the struct import `Repository` is defined here... [INFO] [stderr] --> src/github/client.rs:1:41 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::github::types::{PullRequest, Repository}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] note: ...and refers to the struct `Repository` which is defined here [INFO] [stderr] --> src/github/types.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Repository { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0603`. [INFO] [stderr] error: could not compile `cherry`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "428628b4e178165ea6b81919696164cc8ec4061d02664cea566a523e88df57fc"` [INFO] running `"docker" "rm" "-f" "428628b4e178165ea6b81919696164cc8ec4061d02664cea566a523e88df57fc"` [INFO] [stdout] 428628b4e178165ea6b81919696164cc8ec4061d02664cea566a523e88df57fc