[INFO] cloning repository https://github.com/kek/editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kek/editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Feditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Feditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94bfc2f8d854f36fb89c6ce9191ac1b9dd992110 [INFO] checking kek/editor against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Feditor" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/kek/editor [INFO] finished tweaking git repo https://github.com/kek/editor [INFO] tweaked toml for git repo https://github.com/kek/editor written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kek/editor on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kek/editor 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.3.20 [INFO] [stderr] Downloaded rustler_codegen v0.36.1 [INFO] [stderr] Downloaded rustler v0.36.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caef213b4d8418b1fb7a73a190a4a791ce42e816c4d7b80b71aaca27920b8940 [INFO] running `Command { std: "docker" "start" "-a" "caef213b4d8418b1fb7a73a190a4a791ce42e816c4d7b80b71aaca27920b8940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caef213b4d8418b1fb7a73a190a4a791ce42e816c4d7b80b71aaca27920b8940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caef213b4d8418b1fb7a73a190a4a791ce42e816c4d7b80b71aaca27920b8940", kill_on_drop: false }` [INFO] [stdout] caef213b4d8418b1fb7a73a190a4a791ce42e816c4d7b80b71aaca27920b8940 [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" "-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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa735bfe5affef7ca63d48a4679fada1530ea9c69f8552807182ff3caf47e45c [INFO] running `Command { std: "docker" "start" "-a" "aa735bfe5affef7ca63d48a4679fada1530ea9c69f8552807182ff3caf47e45c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking wayland-sys v0.29.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking ecolor v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking emath v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking epaint v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Compiling rustler_codegen v0.36.1 [INFO] [stderr] Compiling rustler v0.36.1 [INFO] [stderr] Checking egui v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking egui_glow v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking egui-winit v0.21.1 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking eframe v0.21.3 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking editor v0.1.0 (/opt/rustwide/workdir/native/editor) [INFO] [stdout] warning: use of deprecated constant `rustler_init::explicit_nif_functions`: Passing NIF functions explicitly is deprecated and this argument is ignored, please remove it [INFO] [stdout] --> native/editor/src/glue.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / [ [INFO] [stdout] 111 | | spawn_thread, [INFO] [stdout] 112 | | make_number, [INFO] [stdout] 113 | | read_resource, [INFO] [stdout] ... | [INFO] [stdout] 119 | | set_buffer_json, [INFO] [stdout] 120 | | ], [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustler_init::explicit_nif_functions`: Passing NIF functions explicitly is deprecated and this argument is ignored, please remove it [INFO] [stdout] --> native/editor/src/glue.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / [ [INFO] [stdout] 111 | | spawn_thread, [INFO] [stdout] 112 | | make_number, [INFO] [stdout] 113 | | read_resource, [INFO] [stdout] ... | [INFO] [stdout] 119 | | set_buffer_json, [INFO] [stdout] 120 | | ], [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | msg_env.send_and_clear(&debug_pid, |env| data.encode(env)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 14 | let _ = msg_env.send_and_clear(&debug_pid, |env| data.encode(env)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | rustler::resource!(TestResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = rustler::resource!(TestResource, env);; [INFO] [stdout] | +++++++ + [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] --> native/editor/src/glue.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 19 | rustler::resource!(TestResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `TestResource` is not local [INFO] [stdout] | `Resource` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `rustler::resource` may come from an old version of the `rustler` crate, try updating your dependency with `cargo update -p rustler` [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 `rustler::resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | rustler::resource!(ChannelResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = rustler::resource!(ChannelResource, env);; [INFO] [stdout] | +++++++ + [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] --> native/editor/src/glue.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 19 | rustler::resource!(TestResource, env); [INFO] [stdout] 20 | rustler::resource!(ChannelResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `ChannelResource` is not local [INFO] [stdout] | `Resource` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `rustler::resource` may come from an old version of the `rustler` crate, try updating your dependency with `cargo update -p rustler` [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: this warning originates in the macro `rustler::resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | msg_env.send_and_clear(&debug_pid, |env| some_number.encode(env)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = msg_env.send_and_clear(&debug_pid, |env| some_number.encode(env)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | msg_env.send_and_clear(&debug_pid, |env| data.encode(env)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 14 | let _ = msg_env.send_and_clear(&debug_pid, |env| data.encode(env)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | rustler::resource!(TestResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = rustler::resource!(TestResource, env);; [INFO] [stdout] | +++++++ + [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] --> native/editor/src/glue.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 19 | rustler::resource!(TestResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `TestResource` is not local [INFO] [stdout] | `Resource` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `rustler::resource` may come from an old version of the `rustler` crate, try updating your dependency with `cargo update -p rustler` [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 `rustler::resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | rustler::resource!(ChannelResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = rustler::resource!(ChannelResource, env);; [INFO] [stdout] | +++++++ + [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] --> native/editor/src/glue.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 19 | rustler::resource!(TestResource, env); [INFO] [stdout] 20 | rustler::resource!(ChannelResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `ChannelResource` is not local [INFO] [stdout] | `Resource` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `rustler::resource` may come from an old version of the `rustler` crate, try updating your dependency with `cargo update -p rustler` [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: this warning originates in the macro `rustler::resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> native/editor/src/glue.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | msg_env.send_and_clear(&debug_pid, |env| some_number.encode(env)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = msg_env.send_and_clear(&debug_pid, |env| some_number.encode(env)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "aa735bfe5affef7ca63d48a4679fada1530ea9c69f8552807182ff3caf47e45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa735bfe5affef7ca63d48a4679fada1530ea9c69f8552807182ff3caf47e45c", kill_on_drop: false }` [INFO] [stdout] aa735bfe5affef7ca63d48a4679fada1530ea9c69f8552807182ff3caf47e45c