[INFO] cloning repository https://github.com/rhinoceraptor/bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rhinoceraptor/bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhinoceraptor%2Fbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhinoceraptor%2Fbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41f30c4a022da56c46152f15c47d7fa7e77902c6 [INFO] checking rhinoceraptor/bot against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhinoceraptor%2Fbot" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rhinoceraptor/bot on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rhinoceraptor/bot [INFO] finished tweaking git repo https://github.com/rhinoceraptor/bot [INFO] tweaked toml for git repo https://github.com/rhinoceraptor/bot written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/rhinoceraptor/bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7247dcc3f1099b069781a0f787785758bac1c0ec1e2332e22228f29e3857aeb3 [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" "7247dcc3f1099b069781a0f787785758bac1c0ec1e2332e22228f29e3857aeb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7247dcc3f1099b069781a0f787785758bac1c0ec1e2332e22228f29e3857aeb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7247dcc3f1099b069781a0f787785758bac1c0ec1e2332e22228f29e3857aeb3", kill_on_drop: false }` [INFO] [stdout] 7247dcc3f1099b069781a0f787785758bac1c0ec1e2332e22228f29e3857aeb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 353df767e3cc74e393da5b41a7912a5b438dc0cceaf0e5f9b0484416b6c158ea [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" "353df767e3cc74e393da5b41a7912a5b438dc0cceaf0e5f9b0484416b6c158ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking base64 v0.10.0 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking crossbeam-utils v0.6.3 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking ctrlc v3.1.1 [INFO] [stderr] Checking serde_json v1.0.35 [INFO] [stderr] Checking http v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Compiling syn v0.15.25 [INFO] [stderr] Checking rand v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.3.1 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking crossbeam-channel v0.3.6 [INFO] [stderr] Checking tokio-threadpool v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking tokio v0.1.14 [INFO] [stderr] Checking hyper v0.12.20 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.8 [INFO] [stderr] Checking diesel v1.3.3 [INFO] [stderr] Checking bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_config_file (filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_config_file (filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bot.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | type BotResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bot.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | type BotResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bot.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | client: Client, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bot.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | client: Client, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub type ClientResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub type ClientResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `client::Client` cannot be made into an object [INFO] [stdout] --> src/bot.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | client: Client, [INFO] [stdout] | ^^^^^^ the trait `client::Client` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Client { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 6 | fn new(auth: T) -> Self; [INFO] [stdout] | --- ...because associated function `new` has no `self` parameter [INFO] [stdout] | [INFO] [stdout] help: consider turning `new` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 6 | fn new(auth: T) -> Self where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `client::Client` cannot be made into an object [INFO] [stdout] --> src/bot.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | client: Client, [INFO] [stdout] | ^^^^^^ the trait `client::Client` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Client { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 6 | fn new(auth: T) -> Self; [INFO] [stdout] | --- ...because associated function `new` has no `self` parameter [INFO] [stdout] | [INFO] [stdout] help: consider turning `new` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 6 | fn new(auth: T) -> Self where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn client::Client + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/bot.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(config: BotConfig, client: impl Client) -> BotResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Bot`, the trait `Sized` is not implemented for `(dyn client::Client + 'static)` [INFO] [stdout] = note: required because it appears within the type `Bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn client::Client + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/bot.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(config: BotConfig, client: impl Client) -> BotResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Bot`, the trait `Sized` is not implemented for `(dyn client::Client + 'static)` [INFO] [stdout] = note: required because it appears within the type `Bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bot` [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 `Command { std: "docker" "inspect" "353df767e3cc74e393da5b41a7912a5b438dc0cceaf0e5f9b0484416b6c158ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353df767e3cc74e393da5b41a7912a5b438dc0cceaf0e5f9b0484416b6c158ea", kill_on_drop: false }` [INFO] [stdout] 353df767e3cc74e393da5b41a7912a5b438dc0cceaf0e5f9b0484416b6c158ea