[INFO] cloning repository https://github.com/silppuri/rstrie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/silppuri/rstrie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilppuri%2Frstrie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilppuri%2Frstrie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6469b5e57b8ad2ee8d2d4998f04351d4f43967e7 [INFO] building silppuri/rstrie against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilppuri%2Frstrie" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/silppuri/rstrie on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/silppuri/rstrie [INFO] finished tweaking git repo https://github.com/silppuri/rstrie [INFO] tweaked toml for git repo https://github.com/silppuri/rstrie written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/silppuri/rstrie 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cstr-macro v0.1.0 [INFO] [stderr] Downloaded cslice v0.3.0 [INFO] [stderr] Downloaded sequence_trie v0.3.5 [INFO] [stderr] Downloaded libcruby-sys v0.7.2 [INFO] [stderr] Downloaded helix v0.7.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1105a13acbf37c0d138b24fe173df7d084594b99b60ac4a29495aeaa9e668115 [INFO] running `Command { std: "docker" "start" "-a" "1105a13acbf37c0d138b24fe173df7d084594b99b60ac4a29495aeaa9e668115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1105a13acbf37c0d138b24fe173df7d084594b99b60ac4a29495aeaa9e668115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1105a13acbf37c0d138b24fe173df7d084594b99b60ac4a29495aeaa9e668115", kill_on_drop: false }` [INFO] [stdout] 1105a13acbf37c0d138b24fe173df7d084594b99b60ac4a29495aeaa9e668115 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c33adc1c53c391a97c5fff0a7aefd5c07b2449ee6eee746a4c6252b54f7a53b [INFO] running `Command { std: "docker" "start" "-a" "6c33adc1c53c391a97c5fff0a7aefd5c07b2449ee6eee746a4c6252b54f7a53b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libcruby-sys v0.7.2 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling cstr-macro v0.1.0 [INFO] [stderr] Compiling cslice v0.3.0 [INFO] [stderr] Compiling sequence_trie v0.3.5 [INFO] [stderr] Compiling helix v0.7.2 [INFO] [stderr] Compiling rstrie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`Rstrie` is not local [INFO] [stdout] | move the `impl` block outside of this function `Init_native` [INFO] [stdout] | [INFO] [stdout] = note: the macro `codegen_define_method` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `codegen_define_method` may come from an old version of the `helix` crate, try updating your dependency with `cargo update -p helix` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: helix v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6c33adc1c53c391a97c5fff0a7aefd5c07b2449ee6eee746a4c6252b54f7a53b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c33adc1c53c391a97c5fff0a7aefd5c07b2449ee6eee746a4c6252b54f7a53b", kill_on_drop: false }` [INFO] [stdout] 6c33adc1c53c391a97c5fff0a7aefd5c07b2449ee6eee746a4c6252b54f7a53b [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 878a94b60f4c0f6f5c212a9dd1609b426e8d4ecab6105362c00fa19f55dc8285 [INFO] running `Command { std: "docker" "start" "-a" "878a94b60f4c0f6f5c212a9dd1609b426e8d4ecab6105362c00fa19f55dc8285", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rstrie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ruby! { [INFO] [stdout] 26 | | pub class Rstrie { [INFO] [stdout] 27 | | struct { [INFO] [stdout] 28 | | trie: SequenceTrie [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`Rstrie` is not local [INFO] [stdout] | move the `impl` block outside of this function `Init_native` [INFO] [stdout] | [INFO] [stdout] = note: the macro `codegen_define_method` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `codegen_define_method` may come from an old version of the `helix` crate, try updating your dependency with `cargo update -p helix` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `codegen_define_method` which comes from the expansion of the macro `ruby` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: helix v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "878a94b60f4c0f6f5c212a9dd1609b426e8d4ecab6105362c00fa19f55dc8285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878a94b60f4c0f6f5c212a9dd1609b426e8d4ecab6105362c00fa19f55dc8285", kill_on_drop: false }` [INFO] [stdout] 878a94b60f4c0f6f5c212a9dd1609b426e8d4ecab6105362c00fa19f55dc8285