[INFO] cloning repository https://github.com/kek/exgui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kek/exgui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Fexgui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkek%2Fexgui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9218fb3d468a77bd4d3cd3ba21dff71f068fc729 [INFO] testing kek/exgui 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%2Fexgui" "/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/exgui [INFO] finished tweaking git repo https://github.com/kek/exgui [INFO] tweaked toml for git repo https://github.com/kek/exgui written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kek/exgui 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/exgui 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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustler_sys v2.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.160 [INFO] [stderr] Downloaded serde v1.0.160 [INFO] [stderr] Downloaded accesskit v0.10.1 [INFO] [stderr] Downloaded glutin v0.30.7 [INFO] [stderr] Downloaded rustler v0.27.0 [INFO] [stderr] Downloaded tracing v0.1.38 [INFO] [stderr] Downloaded rustler_codegen v0.27.0 [INFO] [stderr] Downloaded winit v0.28.3 [INFO] [stderr] Downloaded libc v0.2.142 [INFO] [stderr] Downloaded orbclient v0.3.44 [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] 6c6ee82e4bc930636d7045ddde1331793c9bc511bee8c53e471520961c5ec2d4 [INFO] running `Command { std: "docker" "start" "-a" "6c6ee82e4bc930636d7045ddde1331793c9bc511bee8c53e471520961c5ec2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c6ee82e4bc930636d7045ddde1331793c9bc511bee8c53e471520961c5ec2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6ee82e4bc930636d7045ddde1331793c9bc511bee8c53e471520961c5ec2d4", kill_on_drop: false }` [INFO] [stdout] 6c6ee82e4bc930636d7045ddde1331793c9bc511bee8c53e471520961c5ec2d4 [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] dec00ae069de4a7290fd30968595876a6eff40146633979c70fdb5ac26b67c2c [INFO] running `Command { std: "docker" "start" "-a" "dec00ae069de4a7290fd30968595876a6eff40146633979c70fdb5ac26b67c2c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling glutin v0.30.7 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustler_sys v2.2.0 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling glow v0.12.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rustler v0.27.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling tracing v0.1.38 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling png v0.17.8 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling glutin_egl_sys v0.4.0 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling webbrowser v0.8.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.3 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling rustler_codegen v0.27.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [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 ahash v0.8.3 [INFO] [stderr] Compiling ron v0.8.0 [INFO] [stderr] Compiling epaint v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling egui v0.21.0 (https://github.com/emilk/egui.git?rev=eb0812a9#eb0812a9) [INFO] [stderr] Compiling arboard v3.2.0 [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> native/editor/src/nifs.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 22 | rustler::resource!(TestResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `TestResource` is not local [INFO] [stdout] | `ResourceTypeProvider` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> native/editor/src/nifs.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 22 | rustler::resource!(TestResource, env); [INFO] [stdout] 23 | rustler::resource!(ChannelResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `ChannelResource` is not local [INFO] [stdout] | `ResourceTypeProvider` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "dec00ae069de4a7290fd30968595876a6eff40146633979c70fdb5ac26b67c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec00ae069de4a7290fd30968595876a6eff40146633979c70fdb5ac26b67c2c", kill_on_drop: false }` [INFO] [stdout] dec00ae069de4a7290fd30968595876a6eff40146633979c70fdb5ac26b67c2c [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] c14427f9418a50a96adf11de254d227be46df71956526cbb565f63dcd52b7fb5 [INFO] running `Command { std: "docker" "start" "-a" "c14427f9418a50a96adf11de254d227be46df71956526cbb565f63dcd52b7fb5", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling editor v0.1.0 (/opt/rustwide/workdir/native/editor) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> native/editor/src/nifs.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 22 | rustler::resource!(TestResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `TestResource` is not local [INFO] [stdout] | `ResourceTypeProvider` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> native/editor/src/nifs.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn load(env: Env, _term: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 22 | rustler::resource!(TestResource, env); [INFO] [stdout] 23 | rustler::resource!(ChannelResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `ChannelResource` is not local [INFO] [stdout] | `ResourceTypeProvider` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "c14427f9418a50a96adf11de254d227be46df71956526cbb565f63dcd52b7fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c14427f9418a50a96adf11de254d227be46df71956526cbb565f63dcd52b7fb5", kill_on_drop: false }` [INFO] [stdout] c14427f9418a50a96adf11de254d227be46df71956526cbb565f63dcd52b7fb5 [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] 5fd72004051ae0454ec92526ccbcc7d907d0aa891d1364bc99bb6174633050b0 [INFO] running `Command { std: "docker" "start" "-a" "5fd72004051ae0454ec92526ccbcc7d907d0aa891d1364bc99bb6174633050b0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> native/editor/src/nifs.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn load(env: Env, _term: Term) -> bool { [INFO] [stderr] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stderr] 22 | rustler::resource!(TestResource, env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `TestResource` is not local [INFO] [stderr] | `ResourceTypeProvider` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> native/editor/src/nifs.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn load(env: Env, _term: Term) -> bool { [INFO] [stderr] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stderr] 22 | rustler::resource!(TestResource, env); [INFO] [stderr] 23 | rustler::resource!(ChannelResource, env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^---------------^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `ChannelResource` is not local [INFO] [stderr] | `ResourceTypeProvider` 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: `editor` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/nifs.rs (/opt/rustwide/target/debug/deps/editor-057f79300e23cdf3) [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] [stderr] Running unittests src/gui.rs (/opt/rustwide/target/debug/deps/editor-6b54090029c83aff) [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" "5fd72004051ae0454ec92526ccbcc7d907d0aa891d1364bc99bb6174633050b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd72004051ae0454ec92526ccbcc7d907d0aa891d1364bc99bb6174633050b0", kill_on_drop: false }` [INFO] [stdout] 5fd72004051ae0454ec92526ccbcc7d907d0aa891d1364bc99bb6174633050b0