[INFO] fetching crate modus_ponens 0.11.5... [INFO] testing modus_ponens-0.11.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate modus_ponens 0.11.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate modus_ponens 0.11.5 [INFO] finished tweaking crates.io crate modus_ponens 0.11.5 [INFO] tweaked toml for crates.io crate modus_ponens 0.11.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modus_ponens 0.11.5 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c020bfc5613709d2f675fece01947db38804e50c6c578711ad93eda4ff9bb2c [INFO] running `Command { std: "docker" "start" "-a" "6c020bfc5613709d2f675fece01947db38804e50c6c578711ad93eda4ff9bb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c020bfc5613709d2f675fece01947db38804e50c6c578711ad93eda4ff9bb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c020bfc5613709d2f675fece01947db38804e50c6c578711ad93eda4ff9bb2c", kill_on_drop: false }` [INFO] [stdout] 6c020bfc5613709d2f675fece01947db38804e50c6c578711ad93eda4ff9bb2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c5b9a4cc049b2f1cd49b001eceef29b5324065eeb7d60b03b3641f42eda8ef8 [INFO] running `Command { std: "docker" "start" "-a" "5c5b9a4cc049b2f1cd49b001eceef29b5324065eeb7d60b03b3641f42eda8ef8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling modus_ponens v0.11.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/transform_num.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | "%" => (lhs % rhs), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - "%" => (lhs % rhs), [INFO] [stdout] 77 + "%" => lhs % rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath { [INFO] [stdout] | ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath { [INFO] [stdout] | ^^ ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&str, bool, Option) { [INFO] [stdout] | ^^ ^^ ---- ------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&'a str, bool, Option>) { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath, Option) { [INFO] [stdout] | ^^ ^^ ------ ------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath<'a>, Option>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ruletree.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | ...s(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | the lifetime is named here the same lifetime is named here [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 178 | fn create_paths(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ruletree.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response, Vec>) { [INFO] [stdout] | ^^ ^^ -------- -- the same lifetime is named here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response<'a>, Vec>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexicon.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn empty_path(&self) -> MPPath { [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] 101 | pub fn empty_path(&self) -> MPPath<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.61s [INFO] running `Command { std: "docker" "inspect" "5c5b9a4cc049b2f1cd49b001eceef29b5324065eeb7d60b03b3641f42eda8ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c5b9a4cc049b2f1cd49b001eceef29b5324065eeb7d60b03b3641f42eda8ef8", kill_on_drop: false }` [INFO] [stdout] 5c5b9a4cc049b2f1cd49b001eceef29b5324065eeb7d60b03b3641f42eda8ef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9946389ab9170e407a3d5226bc3ba8ec966cdc516ba989a875fbc39bbdd511c4 [INFO] running `Command { std: "docker" "start" "-a" "9946389ab9170e407a3d5226bc3ba8ec966cdc516ba989a875fbc39bbdd511c4", kill_on_drop: false }` [INFO] [stderr] Compiling modus_ponens v0.11.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/transform_num.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | "%" => (lhs % rhs), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - "%" => (lhs % rhs), [INFO] [stdout] 77 + "%" => lhs % rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath { [INFO] [stdout] | ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath { [INFO] [stdout] | ^^ ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&str, bool, Option) { [INFO] [stdout] | ^^ ^^ ---- ------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&'a str, bool, Option>) { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath, Option) { [INFO] [stdout] | ^^ ^^ ------ ------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath<'a>, Option>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ruletree.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | ...s(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | the lifetime is named here the same lifetime is named here [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 178 | fn create_paths(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ruletree.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response, Vec>) { [INFO] [stdout] | ^^ ^^ -------- -- the same lifetime is named here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response<'a>, Vec>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexicon.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn empty_path(&self) -> MPPath { [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] 101 | pub fn empty_path(&self) -> MPPath<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/transform_num.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | "%" => (lhs % rhs), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - "%" => (lhs % rhs), [INFO] [stdout] 77 + "%" => lhs % rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath { [INFO] [stdout] | ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath { [INFO] [stdout] | ^^ ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&str, bool, Option) { [INFO] [stdout] | ^^ ^^ ---- ------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&'a str, bool, Option>) { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/path.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath, Option) { [INFO] [stdout] | ^^ ^^ ------ ------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath<'a>, Option>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ruletree.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | ...s(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | the lifetime is named here the same lifetime is named here [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 178 | fn create_paths(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ruletree.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response, Vec>) { [INFO] [stdout] | ^^ ^^ -------- -- the same lifetime is named here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response<'a>, Vec>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexicon.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn empty_path(&self) -> MPPath { [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] 101 | pub fn empty_path(&self) -> MPPath<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "9946389ab9170e407a3d5226bc3ba8ec966cdc516ba989a875fbc39bbdd511c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9946389ab9170e407a3d5226bc3ba8ec966cdc516ba989a875fbc39bbdd511c4", kill_on_drop: false }` [INFO] [stdout] 9946389ab9170e407a3d5226bc3ba8ec966cdc516ba989a875fbc39bbdd511c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4b9987300b4ad335a67944408beaef0f4b3ce52208190164e338302098ad1f4 [INFO] running `Command { std: "docker" "start" "-a" "f4b9987300b4ad335a67944408beaef0f4b3ce52208190164e338302098ad1f4", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/transform_num.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | "%" => (lhs % rhs), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 77 - "%" => (lhs % rhs), [INFO] [stderr] 77 + "%" => lhs % rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/path.rs:36:31 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath { [INFO] [stderr] | ^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new(segments: Vec<&'a MPSegment>) -> MPPath<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/path.rs:103:24 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath { [INFO] [stderr] | ^^ ^^ ------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 103 | pub fn substitute(&'a self, matching: &'a MPMatching) -> MPPath<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/path.rs:115:34 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&str, bool, Option) { [INFO] [stderr] | ^^ ^^ ---- ------ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 115 | pub fn substitute_to_string(&'a self, matching: &'a MPMatching) -> (&'a str, bool, Option>) { [INFO] [stderr] | ++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/path.rs:138:31 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath, Option) { [INFO] [stderr] | ^^ ^^ ------ ------ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 138 | pub fn substitute_owning(&'a self, matching: MPMatching<'a>) -> (MPPath<'a>, Option>) { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/ruletree.rs:178:22 [INFO] [stderr] | [INFO] [stderr] 178 | ...s(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode { [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ -- ------ the same lifetime is hidden here [INFO] [stderr] | | | | | | | [INFO] [stderr] | | | | | the lifetime is named here the same lifetime is named here [INFO] [stderr] | | | | the lifetime is named here [INFO] [stderr] | | | the lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 178 | fn create_paths(&'a self, mut parent: &'a RSNode<'a>, mut paths: Vec>, mut visited: Vec<&'a MPSegment>, mut depth: usize) -> &'a RSNode<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/ruletree.rs:203:25 [INFO] [stderr] | [INFO] [stderr] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response, Vec>) { [INFO] [stderr] | ^^ ^^ -------- -- the same lifetime is named here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 203 | pub fn query_paths(&'a self, paths: Vec>) -> (Response<'a>, Vec>) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lexicon.rs:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn empty_path(&self) -> MPPath { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn empty_path(&self) -> MPPath<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `modus_ponens` (lib) generated 8 warnings (run `cargo fix --lib -p modus_ponens` to apply 8 suggestions) [INFO] [stderr] warning: `modus_ponens` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modus_ponens-fe710348055b90a4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test lexicon::tests::test_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests modus_ponens [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/transform_num.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | "%" => (lhs % rhs), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 77 - "%" => (lhs % rhs), [INFO] [stderr] 77 + "%" => lhs % rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f4b9987300b4ad335a67944408beaef0f4b3ce52208190164e338302098ad1f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b9987300b4ad335a67944408beaef0f4b3ce52208190164e338302098ad1f4", kill_on_drop: false }` [INFO] [stdout] f4b9987300b4ad335a67944408beaef0f4b3ce52208190164e338302098ad1f4