[INFO] fetching crate flutter_rust_bridge 2.11.1... [INFO] checking flutter_rust_bridge-2.11.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate flutter_rust_bridge 2.11.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate flutter_rust_bridge 2.11.1 [INFO] finished tweaking crates.io crate flutter_rust_bridge 2.11.1 [INFO] tweaked toml for crates.io crate flutter_rust_bridge 2.11.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flutter_rust_bridge 2.11.1 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flutter_rust_bridge 2.11.1 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be48677fdd263f963fa772ceca7d691d93e9f2ebca4a7856c9977fbfca9f4e2d [INFO] running `Command { std: "docker" "start" "-a" "be48677fdd263f963fa772ceca7d691d93e9f2ebca4a7856c9977fbfca9f4e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be48677fdd263f963fa772ceca7d691d93e9f2ebca4a7856c9977fbfca9f4e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be48677fdd263f963fa772ceca7d691d93e9f2ebca4a7856c9977fbfca9f4e2d", kill_on_drop: false }` [INFO] [stdout] be48677fdd263f963fa772ceca7d691d93e9f2ebca4a7856c9977fbfca9f4e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e91e84ebe43a748328bb6489ff2ad89d889cbe7b957a255cb90f8b7e7073a15 [INFO] running `Command { std: "docker" "start" "-a" "2e91e84ebe43a748328bb6489ff2ad89d889cbe7b957a255cb90f8b7e7073a15", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling portable-atomic v1.8.0 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling flutter_rust_bridge v2.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling dart-sys v4.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking allo-isolate v0.1.26 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling flutter_rust_bridge_macros v2.11.1 [INFO] [stderr] Compiling delegate-attr v0.3.0 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/rust_opaque/rust2dart.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sse_encode_raw(self) -> (usize, i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rust_opaque/utils.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | impl> ops::Deref for RustOpaqueBase { [INFO] [stdout] | ------------------------------------------------------------------ trait implemented here [INFO] [stdout] 46 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/rust_opaque/utils.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 45 | impl> ops::Deref for RustOpaqueBase { [INFO] [stdout] | ------------------------------------------------------------------ trait implemented here [INFO] [stdout] 46 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn try_unwrap(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/rust_opaque/utils.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 45 | impl> ops::Deref for RustOpaqueBase { [INFO] [stdout] | ------------------------------------------------------------------ trait implemented here [INFO] [stdout] 46 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn into_inner(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flutter_rust_bridge` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2e91e84ebe43a748328bb6489ff2ad89d889cbe7b957a255cb90f8b7e7073a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e91e84ebe43a748328bb6489ff2ad89d889cbe7b957a255cb90f8b7e7073a15", kill_on_drop: false }` [INFO] [stdout] 2e91e84ebe43a748328bb6489ff2ad89d889cbe7b957a255cb90f8b7e7073a15