[INFO] fetching crate pddl 0.1.0... [INFO] checking pddl-0.1.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate pddl 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pddl 0.1.0 [INFO] finished tweaking crates.io crate pddl 0.1.0 [INFO] tweaked toml for crates.io crate pddl 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pddl 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding nom_locate v4.2.0 (available: v5.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5d288f382b9836319cee7d579fa982ada46b0f9eba99401eb988c89c1b74e05a [INFO] running `Command { std: "docker" "start" "-a" "5d288f382b9836319cee7d579fa982ada46b0f9eba99401eb988c89c1b74e05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d288f382b9836319cee7d579fa982ada46b0f9eba99401eb988c89c1b74e05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d288f382b9836319cee7d579fa982ada46b0f9eba99401eb988c89c1b74e05a", kill_on_drop: false }` [INFO] [stdout] 5d288f382b9836319cee7d579fa982ada46b0f9eba99401eb988c89c1b74e05a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 48b5b8c94dd4acdfaced28c6769110a75a67742298190a368884f20f825490a4 [INFO] running `Command { std: "docker" "start" "-a" "48b5b8c94dd4acdfaced28c6769110a75a67742298190a368884f20f825490a4", kill_on_drop: false }` [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking nom-greedyerror v0.5.0 [INFO] [stderr] Checking pddl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/types/name.rs:267:37 [INFO] [stdout] | [INFO] [stdout] 267 | assert!(std::ptr::eq(object.as_str(), well_known::OBJECT)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/types/name.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | assert!(std::ptr::eq(number.as_str(), well_known::NUMBER)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/visitor.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VisitorMut` is never used [INFO] [stdout] --> src/visitor.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait VisitorMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Accept` is never used [INFO] [stdout] --> src/visitor.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Accept, T, O> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AcceptMut` is never used [INFO] [stdout] --> src/visitor.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AcceptMut, T, O> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_str(input: &str) -> Result> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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] 99 | fn from_str(input: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/effects.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter(&self) -> std::slice::Iter<'_, CEffect> { [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/types/function_typed.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub const fn value_ref(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl Deref for FunctionTyped { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 46 | type Target = O; [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/types/function_typed.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | pub const fn type_ref(&self) -> &FunctionType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl Deref for FunctionTyped { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 46 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/pre_gd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn iter(&self) -> std::slice::Iter<'_, PreconditionGoalDefinition> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/pref_con_gd.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn iter(&self) -> std::slice::Iter<'_, PrefConGD> { [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/types/typed.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn value(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl<'a, O> Deref for Typed { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 74 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/typed.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub const fn type_(&self) -> &Type { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl<'a, O> Deref for Typed { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 74 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pddl` (lib) due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/visitor.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Accept` is never used [INFO] [stdout] --> src/visitor.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Accept, T, O> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_str(input: &str) -> Result> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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] 99 | fn from_str(input: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/effects.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter(&self) -> std::slice::Iter<'_, CEffect> { [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/types/function_typed.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub const fn value_ref(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl Deref for FunctionTyped { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 46 | type Target = O; [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/types/function_typed.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | pub const fn type_ref(&self) -> &FunctionType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl Deref for FunctionTyped { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 46 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/pre_gd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn iter(&self) -> std::slice::Iter<'_, PreconditionGoalDefinition> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/pref_con_gd.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn iter(&self) -> std::slice::Iter<'_, PrefConGD> { [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/types/typed.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn value(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl<'a, O> Deref for Typed { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 74 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/typed.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub const fn type_(&self) -> &Type { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl<'a, O> Deref for Typed { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 74 | type Target = O; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pddl` (lib test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48b5b8c94dd4acdfaced28c6769110a75a67742298190a368884f20f825490a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b5b8c94dd4acdfaced28c6769110a75a67742298190a368884f20f825490a4", kill_on_drop: false }` [INFO] [stdout] 48b5b8c94dd4acdfaced28c6769110a75a67742298190a368884f20f825490a4