[INFO] cloning repository https://github.com/bozso/chelp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bozso/chelp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44daa8a1a486d1311c83dc9de3fbfcc72c906275 [INFO] checking bozso/chelp against try#82acd1d76add2232e19c1f0feb250d2a19ec6efe for pr-81213 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bozso/chelp on toolchain 82acd1d76add2232e19c1f0feb250d2a19ec6efe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bozso/chelp [INFO] finished tweaking git repo https://github.com/bozso/chelp [INFO] tweaked toml for git repo https://github.com/bozso/chelp written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/bozso/chelp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.21 [INFO] [stderr] Downloaded ahash v0.4.6 [INFO] [stderr] Downloaded hecs v0.3.1 [INFO] [stderr] Downloaded cbindgen v0.15.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] running `Command { std: "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" "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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a99be16e91387ae3fbd644fd7bfd38347575f6bf9d7d4a55707a6c30d5118d26 [INFO] running `Command { std: "docker" "start" "-a" "a99be16e91387ae3fbd644fd7bfd38347575f6bf9d7d4a55707a6c30d5118d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99be16e91387ae3fbd644fd7bfd38347575f6bf9d7d4a55707a6c30d5118d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99be16e91387ae3fbd644fd7bfd38347575f6bf9d7d4a55707a6c30d5118d26", kill_on_drop: false }` [INFO] [stdout] a99be16e91387ae3fbd644fd7bfd38347575f6bf9d7d4a55707a6c30d5118d26 [INFO] running `Command { std: "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" "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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45316def8abe21a3c44bb5d58cf21af9fcbfe83866ff91dbbac7c7e4f7c33dc7 [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" "45316def8abe21a3c44bb5d58cf21af9fcbfe83866ff91dbbac7c7e4f7c33dc7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cbindgen v0.15.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking hecs v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling chelper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `service::Default` [INFO] [stdout] --> src/service/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub use service::{Service, Default}; [INFO] [stdout] | ^^^^^^^ no `Default` in `service::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `database::Database` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub use database::{Database}; [INFO] [stdout] | ^^^^^^^^ no `Database` in `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database as db`, `service` [INFO] [stdout] --> src/service/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | service, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | database as db, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `service::Default` [INFO] [stdout] --> src/service/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub use service::{Service, Default}; [INFO] [stdout] | ^^^^^^^ no `Default` in `service::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `database::Database` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub use database::{Database}; [INFO] [stdout] | ^^^^^^^^ no `Database` in `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database as db`, `service` [INFO] [stdout] --> src/service/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | service, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | database as db, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&Box<(dyn Debug + 'static)>` in the current scope [INFO] [stdout] --> src/database/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #[error("no entry not found with key {0}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&Box<(dyn Debug + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: the method `as_display` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Box: std::fmt::Display` [INFO] [stdout] which is required by `&Box: DisplayAsDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&Box<(dyn Debug + 'static)>` in the current scope [INFO] [stdout] --> src/database/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #[error("no entry not found with key {0}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&Box<(dyn Debug + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: the method `as_display` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Box: std::fmt::Display` [INFO] [stdout] which is required by `&Box: DisplayAsDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Key` doesn't implement `Debug` [INFO] [stdout] --> src/database/mod.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | self.get(key).ok_or(Error::EntryNotFound(Box::new(key))) [INFO] [stdout] | ^^^^^^^^^^^^^ `::Key` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `::Key` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&::Key` [INFO] [stdout] = note: required for the cast to the object type `dyn Debug` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 58 | fn must_get(&self, key: &Self::Key) -> Result<&Self::Value, Error> where ::Key: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Key` doesn't implement `Debug` [INFO] [stdout] --> src/database/mod.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | self.get(key).ok_or(Error::EntryNotFound(Box::new(key))) [INFO] [stdout] | ^^^^^^^^^^^^^ `::Key` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `::Key` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&::Key` [INFO] [stdout] = note: required for the cast to the object type `dyn Debug` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 58 | fn must_get(&self, key: &Self::Key) -> Result<&Self::Value, Error> where ::Key: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/database/mod.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | self.remove(key).ok_or(Error::EntryNotFound(key)) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found reference [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(key)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Debug + 'static)>` [INFO] [stdout] found reference `&::Key` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/database/mod.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | self.remove(key).ok_or(Error::EntryNotFound(key)) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found reference [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(key)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Debug + 'static)>` [INFO] [stdout] found reference `&::Key` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chelper` [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] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "45316def8abe21a3c44bb5d58cf21af9fcbfe83866ff91dbbac7c7e4f7c33dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45316def8abe21a3c44bb5d58cf21af9fcbfe83866ff91dbbac7c7e4f7c33dc7", kill_on_drop: false }` [INFO] [stdout] 45316def8abe21a3c44bb5d58cf21af9fcbfe83866ff91dbbac7c7e4f7c33dc7