[INFO] fetching crate harfbuzz_rs 2.0.1... [INFO] checking harfbuzz_rs-2.0.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate harfbuzz_rs 2.0.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate harfbuzz_rs 2.0.1 [INFO] finished tweaking crates.io crate harfbuzz_rs 2.0.1 [INFO] tweaked toml for crates.io crate harfbuzz_rs 2.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate harfbuzz_rs 2.0.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 harfbuzz_rs 2.0.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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5f74e8cee0f289438e7267e6e47d684a2eb446876b77d0ced3545d58da9a876d [INFO] running `Command { std: "docker" "start" "-a" "5f74e8cee0f289438e7267e6e47d684a2eb446876b77d0ced3545d58da9a876d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f74e8cee0f289438e7267e6e47d684a2eb446876b77d0ced3545d58da9a876d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f74e8cee0f289438e7267e6e47d684a2eb446876b77d0ced3545d58da9a876d", kill_on_drop: false }` [INFO] [stdout] 5f74e8cee0f289438e7267e6e47d684a2eb446876b77d0ced3545d58da9a876d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6d209d1147dc5caf610e9c815ef26aa95a9703b0fc662c60b8532e0fc92dc735 [INFO] running `Command { std: "docker" "start" "-a" "6d209d1147dc5caf610e9c815ef26aa95a9703b0fc662c60b8532e0fc92dc735", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling harfbuzz-sys v0.5.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Checking harfbuzz_rs v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `variation_support` [INFO] [stdout] --> src/face.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(variation_support)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(variation_support)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(variation_support)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `variation_support` [INFO] [stdout] --> src/face.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(variation_support)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(variation_support)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(variation_support)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `variation_support` [INFO] [stdout] --> src/face.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(variation_support)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(variation_support)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(variation_support)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `variation_support` [INFO] [stdout] --> src/face.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(variation_support)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(variation_support)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(variation_support)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/blob.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { Box::from_raw(ptr as *mut U) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { let _ = Box::from_raw(ptr as *mut U); }; [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/common.rs:469:22 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn to_shared(self) -> Shared { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | impl Deref for Owned { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 481 | 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] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/face.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { Box::from_raw(ptr as *mut U) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { let _ = Box::from_raw(ptr as *mut U); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/font.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { Box::from_raw(ptr as *mut U) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { let _ = Box::from_raw(ptr as *mut U); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `harfbuzz_rs` (lib) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/blob.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { Box::from_raw(ptr as *mut U) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { let _ = Box::from_raw(ptr as *mut U); }; [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/common.rs:469:22 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn to_shared(self) -> Shared { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | impl Deref for Owned { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 481 | 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] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/face.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { Box::from_raw(ptr as *mut U) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { let _ = Box::from_raw(ptr as *mut U); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/font.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { Box::from_raw(ptr as *mut U) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { let _ = Box::from_raw(ptr as *mut U); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `harfbuzz_rs` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6d209d1147dc5caf610e9c815ef26aa95a9703b0fc662c60b8532e0fc92dc735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d209d1147dc5caf610e9c815ef26aa95a9703b0fc662c60b8532e0fc92dc735", kill_on_drop: false }` [INFO] [stdout] 6d209d1147dc5caf610e9c815ef26aa95a9703b0fc662c60b8532e0fc92dc735