[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#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Feditor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kek/editor on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/emilk/egui.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking kek/editor against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Feditor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kek/editor on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "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" "+e90f1ff63e694965281f833819a486da29772bdf" "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 error-code v3.3.1 [INFO] [stderr] Downloaded inventory v0.3.20 [INFO] [stderr] Downloaded directories-next v2.0.0 [INFO] [stderr] Downloaded arboard v3.4.1 [INFO] [stderr] Downloaded xml-rs v0.8.25 [INFO] [stderr] Downloaded glutin_egl_sys v0.5.1 [INFO] [stderr] Downloaded rustler v0.36.1 [INFO] [stderr] Downloaded rustler_codegen v0.36.1 [INFO] [stderr] Downloaded atomic_refcell v0.1.13 [INFO] [stderr] Downloaded glutin v0.30.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2de5d089be5aff085335c1b2cd0f2a0af415d64afa0b47a1726928644f927ddc [INFO] running `Command { std: "docker" "start" "-a" "2de5d089be5aff085335c1b2cd0f2a0af415d64afa0b47a1726928644f927ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2de5d089be5aff085335c1b2cd0f2a0af415d64afa0b47a1726928644f927ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de5d089be5aff085335c1b2cd0f2a0af415d64afa0b47a1726928644f927ddc", kill_on_drop: false }` [INFO] [stdout] 2de5d089be5aff085335c1b2cd0f2a0af415d64afa0b47a1726928644f927ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cb61a197b80977e08e0b9155b87b17277740a803c6f0fdee21e00afc7d42fcd [INFO] running `Command { std: "docker" "start" "-a" "9cb61a197b80977e08e0b9155b87b17277740a803c6f0fdee21e00afc7d42fcd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [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 serde v1.0.219 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking mio v0.8.11 [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 libloading v0.7.4 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Compiling rustler v0.36.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustler_codegen v0.36.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.10.6 [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] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking emath v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking ecolor v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking epaint v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking egui v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking x11rb v0.13.1 [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 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 47.44s [INFO] running `Command { std: "docker" "inspect" "9cb61a197b80977e08e0b9155b87b17277740a803c6f0fdee21e00afc7d42fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb61a197b80977e08e0b9155b87b17277740a803c6f0fdee21e00afc7d42fcd", kill_on_drop: false }` [INFO] [stdout] 9cb61a197b80977e08e0b9155b87b17277740a803c6f0fdee21e00afc7d42fcd