[INFO] fetching crate geoq_wkt 0.2.0... [INFO] checking geoq_wkt-0.2.0 against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] extracting crate geoq_wkt 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate geoq_wkt 0.2.0 [INFO] finished tweaking crates.io crate geoq_wkt 0.2.0 [INFO] tweaked toml for crates.io crate geoq_wkt 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate geoq_wkt 0.2.0 on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding geo-types v0.1.1 (available: v0.7.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cbe64a612dfcffd34ac47a2b59f437881d819237eaedf459626f33d430cc5ef [INFO] running `Command { std: "docker" "start" "-a" "5cbe64a612dfcffd34ac47a2b59f437881d819237eaedf459626f33d430cc5ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cbe64a612dfcffd34ac47a2b59f437881d819237eaedf459626f33d430cc5ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbe64a612dfcffd34ac47a2b59f437881d819237eaedf459626f33d430cc5ef", kill_on_drop: false }` [INFO] [stdout] 5cbe64a612dfcffd34ac47a2b59f437881d819237eaedf459626f33d430cc5ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30d5f7ead9b3c2c686bafba33597fcc6c6f747b1def6d7272981eaa0829ee2a9 [INFO] running `Command { std: "docker" "start" "-a" "30d5f7ead9b3c2c686bafba33597fcc6c6f747b1def6d7272981eaa0829ee2a9", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking geo-types v0.1.1 [INFO] [stderr] Checking geoq_wkt v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/togeo.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | fn to_geo(self: &Geometry) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/togeo.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let g_geom = try!(geom.to_geo()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types/geometrycollection.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let item = try!(Geometry::from_word_and_tokens(&*word, tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types/geometrycollection.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let item = try!(Geometry::from_word_and_tokens(&*word, tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | let item = try!(f(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let item = try!(f(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/tokenizer.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | number = number.trim_left_matches('+').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 82 - number = number.trim_left_matches('+').to_string(); [INFO] [stdout] 82 + number = number.trim_start_matches('+').to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromTokens` is never used [INFO] [stdout] --> src/types/mod.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait FromTokens: Sized + Default { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `geoq_wkt` (lib) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/togeo.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | fn to_geo(self: &Geometry) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/togeo.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let g_geom = try!(geom.to_geo()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types/geometrycollection.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let item = try!(Geometry::from_word_and_tokens(&*word, tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types/geometrycollection.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let item = try!(Geometry::from_word_and_tokens(&*word, tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | let item = try!(f(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let item = try!(f(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/tokenizer.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | number = number.trim_left_matches('+').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 82 - number = number.trim_left_matches('+').to_string(); [INFO] [stdout] 82 + number = number.trim_start_matches('+').to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromTokens` is never used [INFO] [stdout] --> src/types/mod.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait FromTokens: Sized + Default { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `geoq_wkt` (lib test) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "30d5f7ead9b3c2c686bafba33597fcc6c6f747b1def6d7272981eaa0829ee2a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d5f7ead9b3c2c686bafba33597fcc6c6f747b1def6d7272981eaa0829ee2a9", kill_on_drop: false }` [INFO] [stdout] 30d5f7ead9b3c2c686bafba33597fcc6c6f747b1def6d7272981eaa0829ee2a9