[INFO] updating cached repository https://github.com/elpiel/repository-trait-rs [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] be3d6be55f1ca61c97fd7421795b2dfa55a7204a [INFO] checking elpiel/repository-trait-rs/be3d6be55f1ca61c97fd7421795b2dfa55a7204a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felpiel%2Frepository-trait-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elpiel/repository-trait-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/elpiel/repository-trait-rs [INFO] finished tweaking git repo https://github.com/elpiel/repository-trait-rs [INFO] tweaked toml for git repo https://github.com/elpiel/repository-trait-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/elpiel/repository-trait-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e65ea923e282103680c16d79c78d820aec8cd67366113681476e947da0c8bf28 [INFO] running `Command { std: "docker" "start" "-a" "e65ea923e282103680c16d79c78d820aec8cd67366113681476e947da0c8bf28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e65ea923e282103680c16d79c78d820aec8cd67366113681476e947da0c8bf28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65ea923e282103680c16d79c78d820aec8cd67366113681476e947da0c8bf28", kill_on_drop: false }` [INFO] [stdout] e65ea923e282103680c16d79c78d820aec8cd67366113681476e947da0c8bf28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70962c801c91986a59049983a0011bec6240f6ee90998eba9058d6d199faec4f [INFO] running `Command { std: "docker" "start" "-a" "70962c801c91986a59049983a0011bec6240f6ee90998eba9058d6d199faec4f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking futures v0.1.27 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.16 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.16 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking opaque-debug v0.2.2 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.16 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking hmac v0.7.0 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.16 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking rent_to_own v0.1.0 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.16 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking bb8 v0.3.0 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Checking try_future v0.1.3 [INFO] [stderr] Checking postgres-protocol v0.4.0 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.16 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_state_machine_future v0.2.0 [INFO] [stderr] Checking state_machine_future v0.2.0 [INFO] [stderr] Checking tokio-postgres v0.4.0-rc.2 [INFO] [stderr] Checking bb8-postgres v0.3.0 [INFO] [stderr] Checking repository v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub type RepositoryFuture = Pin> + Send>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub type RepositoryFuture = Pin> + Send>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub type RepositoryFuture = Pin> + Send>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub type RepositoryFuture = Pin> + Send>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/handler.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(channel_repository: &'a ChannelRepository) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(channel_repository: &'a dyn ChannelRepository) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/handler.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(channel_repository: &'a ChannelRepository) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(channel_repository: &'a dyn ChannelRepository) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/infrastructure/persistence/channel.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|err| RepositoryError::AlreadyExist) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/infrastructure/persistence/channel.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|err| RepositoryError::AlreadyExist) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `repository` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `repository` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70962c801c91986a59049983a0011bec6240f6ee90998eba9058d6d199faec4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70962c801c91986a59049983a0011bec6240f6ee90998eba9058d6d199faec4f", kill_on_drop: false }` [INFO] [stdout] 70962c801c91986a59049983a0011bec6240f6ee90998eba9058d6d199faec4f