[INFO] fetching crate bottle 1.1.0-alpha... [INFO] checking bottle-1.1.0-alpha against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bottle 1.1.0-alpha into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate bottle 1.1.0-alpha [INFO] finished tweaking crates.io crate bottle 1.1.0-alpha [INFO] tweaked toml for crates.io crate bottle 1.1.0-alpha written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bottle 1.1.0-alpha on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bottle 1.1.0-alpha 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.7.1 [INFO] [stderr] Downloaded async-attributes v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0aefdc6337bc0308d7bd81073e921e594e8dbdb18d9cc39b48899a35b5f0191 [INFO] running `Command { std: "docker" "start" "-a" "e0aefdc6337bc0308d7bd81073e921e594e8dbdb18d9cc39b48899a35b5f0191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0aefdc6337bc0308d7bd81073e921e594e8dbdb18d9cc39b48899a35b5f0191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0aefdc6337bc0308d7bd81073e921e594e8dbdb18d9cc39b48899a35b5f0191", kill_on_drop: false }` [INFO] [stdout] e0aefdc6337bc0308d7bd81073e921e594e8dbdb18d9cc39b48899a35b5f0191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7857f936443665f7f88041fc8db64aeb27d5aca83cecd9e2931859276b46321e [INFO] running `Command { std: "docker" "start" "-a" "7857f936443665f7f88041fc8db64aeb27d5aca83cecd9e2931859276b46321e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking bottle v1.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `box_into_pin` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | box_into_pin, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `weak_into_raw` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | weak_into_raw [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/remote.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) unsafe fn post(&mut self, event: E) -> Output where T: 'static + Handler { [INFO] [stdout] | ^^^^^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) unsafe fn post(&mut self, event: E) -> Output<'_, E::Response> where T: 'static + Handler { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/demux.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 25 - self.ptr == other.ptr [INFO] [stdout] 25 + std::ptr::addr_eq(self.ptr, other.ptr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `box_into_pin` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | box_into_pin, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `weak_into_raw` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | weak_into_raw [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> examples/emitter.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | fn handle(self: Receiver, _event: Emit) -> Output<()> { [INFO] [stdout] | -------------- ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say which `self` it is borrowed from [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn handle<'a>(self: Receiver<'a, Self>, _event: Emit) -> Output<'a, ()> { [INFO] [stdout] | ++++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> examples/emitter.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(self: Receiver, _event: Event1) -> Output<()> { [INFO] [stdout] | -------------- ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say which `self` it is borrowed from [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 55 | fn handle<'a>(self: Receiver<'a, Self>, _event: Event1) -> Output<'a, ()> { [INFO] [stdout] | ++++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `handle` has an incompatible type for trait [INFO] [stdout] --> examples/simple.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | fn handle(self: Receiver, _event: Reflect) -> Remote> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Output<'a, Remote>>`, found `Remote<(dyn Handler + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(bottle::Receiver<'a, _>, Reflect) -> bottle::Output<'a, Remote<_>>` [INFO] [stdout] found signature `fn(bottle::Receiver<'_, _>, Reflect) -> Remote<_>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 23 - fn handle(self: Receiver, _event: Reflect) -> Remote> { [INFO] [stdout] 23 + fn handle(self: Receiver, _event: Reflect) -> bottle::Output<'a, Remote<(dyn Handler + 'static)>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `handle` has an incompatible type for trait [INFO] [stdout] --> examples/simple.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | fn handle(self: Receiver, _event: Event) { [INFO] [stdout] | ^ expected `bottle::Output<'a, ()>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(bottle::Receiver<'a, _>, Event) -> bottle::Output<'a, ()>` [INFO] [stdout] found signature `fn(bottle::Receiver<'_, _>, Event) -> ()` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 30 | fn handle(self: Receiver, _event: Event) -> bottle::Output<'a, ()> { [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/remote.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) unsafe fn post(&mut self, event: E) -> Output where T: 'static + Handler { [INFO] [stdout] | ^^^^^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) unsafe fn post(&mut self, event: E) -> Output<'_, E::Response> where T: 'static + Handler { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/demux.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 25 - self.ptr == other.ptr [INFO] [stdout] 25 + std::ptr::addr_eq(self.ptr, other.ptr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bottle` (example "emitter") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bottle` (example "simple") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7857f936443665f7f88041fc8db64aeb27d5aca83cecd9e2931859276b46321e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7857f936443665f7f88041fc8db64aeb27d5aca83cecd9e2931859276b46321e", kill_on_drop: false }` [INFO] [stdout] 7857f936443665f7f88041fc8db64aeb27d5aca83cecd9e2931859276b46321e