[INFO] cloning repository https://github.com/Bruce0203/js_resized_event_channel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bruce0203/js_resized_event_channel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBruce0203%2Fjs_resized_event_channel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBruce0203%2Fjs_resized_event_channel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b638da232d1cc358d00bfbc72b72296679d6f0e9 [INFO] testing Bruce0203/js_resized_event_channel/b638da232d1cc358d00bfbc72b72296679d6f0e9 against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBruce0203%2Fjs_resized_event_channel" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bruce0203/js_resized_event_channel on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Bruce0203/js_resized_event_channel [INFO] finished tweaking git repo https://github.com/Bruce0203/js_resized_event_channel [INFO] tweaked toml for git repo https://github.com/Bruce0203/js_resized_event_channel written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bruce0203/js_resized_event_channel 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.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kanal v0.1.0-pre8 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfbe24d9144277186738062cf3ef55a001b9b800a64597649fec16e3250c3c12 [INFO] running `Command { std: "docker" "start" "-a" "dfbe24d9144277186738062cf3ef55a001b9b800a64597649fec16e3250c3c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfbe24d9144277186738062cf3ef55a001b9b800a64597649fec16e3250c3c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfbe24d9144277186738062cf3ef55a001b9b800a64597649fec16e3250c3c12", kill_on_drop: false }` [INFO] [stdout] dfbe24d9144277186738062cf3ef55a001b9b800a64597649fec16e3250c3c12 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84be687bec124329f3ee8a56761258889b3987e2c2f81d0ea8ce8eea0d1e80a2 [INFO] running `Command { std: "docker" "start" "-a" "84be687bec124329f3ee8a56761258889b3987e2c2f81d0ea8ce8eea0d1e80a2", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling kanal v0.1.0-pre8 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling js_resized_event_channel v0.3.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.43s [INFO] running `Command { std: "docker" "inspect" "84be687bec124329f3ee8a56761258889b3987e2c2f81d0ea8ce8eea0d1e80a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84be687bec124329f3ee8a56761258889b3987e2c2f81d0ea8ce8eea0d1e80a2", kill_on_drop: false }` [INFO] [stdout] 84be687bec124329f3ee8a56761258889b3987e2c2f81d0ea8ce8eea0d1e80a2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8726281227ddc42228dc246251a50f518e9f0c0259d7a31aafe468eb9fdad02 [INFO] running `Command { std: "docker" "start" "-a" "a8726281227ddc42228dc246251a50f518e9f0c0259d7a31aafe468eb9fdad02", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling js_resized_event_channel v0.3.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "a8726281227ddc42228dc246251a50f518e9f0c0259d7a31aafe468eb9fdad02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8726281227ddc42228dc246251a50f518e9f0c0259d7a31aafe468eb9fdad02", kill_on_drop: false }` [INFO] [stdout] a8726281227ddc42228dc246251a50f518e9f0c0259d7a31aafe468eb9fdad02 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d7c58b674fd1887d61fb593cafa5aa92eac3a1f31dd3a986861d44ec6f219e4 [INFO] running `Command { std: "docker" "start" "-a" "2d7c58b674fd1887d61fb593cafa5aa92eac3a1f31dd3a986861d44ec6f219e4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/js_resized_event_channel-4c71e0f5d78ea77a) [INFO] [stderr] Doc-tests js_resized_event_channel [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - JsResizeEventChannel (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - JsResizeEventChannel (line 5) stdout ---- [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 22 | } [INFO] [stdout] | ^ the main function must be defined at the crate level (in `src/lib.rs`) [INFO] [stdout] | [INFO] [stdout] note: here is a function named `main` [INFO] [stdout] --> src/lib.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: you have one or more functions named `main` not defined at the crate level [INFO] [stdout] = help: consider moving the `main` function definitions [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stdout] --> src/lib.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 11 | .create_window(WindowAttributes::default()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::run`: use `EventLoop::run_app` instead [INFO] [stdout] --> src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 15 | .run(|event, event_loop| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - JsResizeEventChannel (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2d7c58b674fd1887d61fb593cafa5aa92eac3a1f31dd3a986861d44ec6f219e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7c58b674fd1887d61fb593cafa5aa92eac3a1f31dd3a986861d44ec6f219e4", kill_on_drop: false }` [INFO] [stdout] 2d7c58b674fd1887d61fb593cafa5aa92eac3a1f31dd3a986861d44ec6f219e4