[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] testing kek/editor against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Feditor" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kek/editor on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.3.20 [INFO] [stderr] Downloaded xcursor v0.3.8 [INFO] [stderr] Downloaded bytemuck_derive v1.8.1 [INFO] [stderr] Downloaded rustler_codegen v0.36.1 [INFO] [stderr] Downloaded ab_glyph v0.2.29 [INFO] [stderr] Downloaded accesskit v0.10.1 [INFO] [stderr] Downloaded arboard v3.4.1 [INFO] [stderr] Downloaded xml-rs v0.8.25 [INFO] [stderr] Downloaded rustler v0.36.1 [INFO] [stderr] Downloaded owned_ttf_parser v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9796c08af141878329aabf806dac81aaa2ddc6602514a3f4ed814328d0b8839 [INFO] running `Command { std: "docker" "start" "-a" "a9796c08af141878329aabf806dac81aaa2ddc6602514a3f4ed814328d0b8839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9796c08af141878329aabf806dac81aaa2ddc6602514a3f4ed814328d0b8839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9796c08af141878329aabf806dac81aaa2ddc6602514a3f4ed814328d0b8839", kill_on_drop: false }` [INFO] [stdout] a9796c08af141878329aabf806dac81aaa2ddc6602514a3f4ed814328d0b8839 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f559409bb2d67c5a8f6ad41c67d9cd1ec73e2a71c00e7f9264441940412bde91 [INFO] running `Command { std: "docker" "start" "-a" "f559409bb2d67c5a8f6ad41c67d9cd1ec73e2a71c00e7f9264441940412bde91", 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] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustler v0.36.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [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] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling ecolor v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling emath v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling epaint v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling egui v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling egui_glow v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling egui-winit v0.21.1 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling eframe v0.21.3 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling 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: 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)]` 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 2m 32s [INFO] running `Command { std: "docker" "inspect" "f559409bb2d67c5a8f6ad41c67d9cd1ec73e2a71c00e7f9264441940412bde91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f559409bb2d67c5a8f6ad41c67d9cd1ec73e2a71c00e7f9264441940412bde91", kill_on_drop: false }` [INFO] [stdout] f559409bb2d67c5a8f6ad41c67d9cd1ec73e2a71c00e7f9264441940412bde91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 371e7b76f6c7fca6046179c832128fe357bfc2acd0d1dcbc1409b692abf9440e [INFO] running `Command { std: "docker" "start" "-a" "371e7b76f6c7fca6046179c832128fe357bfc2acd0d1dcbc1409b692abf9440e", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "371e7b76f6c7fca6046179c832128fe357bfc2acd0d1dcbc1409b692abf9440e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371e7b76f6c7fca6046179c832128fe357bfc2acd0d1dcbc1409b692abf9440e", kill_on_drop: false }` [INFO] [stdout] 371e7b76f6c7fca6046179c832128fe357bfc2acd0d1dcbc1409b692abf9440e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79a00c4dad069a24ae17ea5336cb689ff96d41dc2482cefcc0b030005f3605f0 [INFO] running `Command { std: "docker" "start" "-a" "79a00c4dad069a24ae17ea5336cb689ff96d41dc2482cefcc0b030005f3605f0", kill_on_drop: false }` [INFO] [stderr] 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] [stderr] --> native/editor/src/glue.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | / [ [INFO] [stderr] 111 | | spawn_thread, [INFO] [stderr] 112 | | make_number, [INFO] [stderr] 113 | | read_resource, [INFO] [stderr] ... | [INFO] [stderr] 119 | | set_buffer_json, [INFO] [stderr] 120 | | ], [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> native/editor/src/glue.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | msg_env.send_and_clear(&debug_pid, |env| data.encode(env)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 14 | let _ = msg_env.send_and_clear(&debug_pid, |env| data.encode(env)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> native/editor/src/glue.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | rustler::resource!(TestResource, env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 19 | let _ = rustler::resource!(TestResource, env);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> native/editor/src/glue.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | fn load(env: Env, _term: Term) -> bool { [INFO] [stderr] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stderr] 19 | rustler::resource!(TestResource, env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `TestResource` is not local [INFO] [stderr] | `Resource` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `rustler::resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> native/editor/src/glue.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | rustler::resource!(ChannelResource, env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 20 | let _ = rustler::resource!(ChannelResource, env);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> native/editor/src/glue.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 18 | fn load(env: Env, _term: Term) -> bool { [INFO] [stderr] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stderr] 19 | rustler::resource!(TestResource, env); [INFO] [stderr] 20 | rustler::resource!(ChannelResource, env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `ChannelResource` is not local [INFO] [stderr] | `Resource` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the macro `rustler::resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> native/editor/src/glue.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | msg_env.send_and_clear(&debug_pid, |env| some_number.encode(env)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 48 | let _ = msg_env.send_and_clear(&debug_pid, |env| some_number.encode(env)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `editor` (lib test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/glue.rs (/opt/rustwide/target/debug/deps/editor-e520e10288fa7ad9) [INFO] [stdout] [INFO] [stderr] Running unittests src/gui.rs (/opt/rustwide/target/debug/deps/editor-77d116e2b3f687a9) [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] [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" "79a00c4dad069a24ae17ea5336cb689ff96d41dc2482cefcc0b030005f3605f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a00c4dad069a24ae17ea5336cb689ff96d41dc2482cefcc0b030005f3605f0", kill_on_drop: false }` [INFO] [stdout] 79a00c4dad069a24ae17ea5336cb689ff96d41dc2482cefcc0b030005f3605f0