[INFO] updating cached repository https://github.com/ahmad2smile/react-wasm-calendar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ea03c50172f759e787376272a025cc3bb538db9 [INFO] testing ahmad2smile/react-wasm-calendar against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmad2smile%2Freact-wasm-calendar" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ahmad2smile/react-wasm-calendar on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ahmad2smile/react-wasm-calendar [INFO] finished tweaking git repo https://github.com/ahmad2smile/react-wasm-calendar [INFO] tweaked toml for git repo https://github.com/ahmad2smile/react-wasm-calendar written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ahmad2smile/react-wasm-calendar already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bce3267e4cb08fd5da24d94940678237f8d7fd20915a87c94fd31cff3e6d61aa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bce3267e4cb08fd5da24d94940678237f8d7fd20915a87c94fd31cff3e6d61aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bce3267e4cb08fd5da24d94940678237f8d7fd20915a87c94fd31cff3e6d61aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce3267e4cb08fd5da24d94940678237f8d7fd20915a87c94fd31cff3e6d61aa", kill_on_drop: false }` [INFO] [stdout] bce3267e4cb08fd5da24d94940678237f8d7fd20915a87c94fd31cff3e6d61aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74eea558cf6913a6950eb497d9e5a879ec35605c184673951e2932aabf5e9f1f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74eea558cf6913a6950eb497d9e5a879ec35605c184673951e2932aabf5e9f1f", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.2 [INFO] [stderr] Compiling base-x v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.2 [INFO] [stderr] Compiling stdweb v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Compiling calendar_wasm_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stdweb::*` [INFO] [stdout] --> src/calendar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use stdweb::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dates` [INFO] [stdout] --> src/calendar.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | let dates = Dates::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/calendar.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/calendar.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_leap_year` [INFO] [stdout] --> src/dates.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn is_leap_year(year: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55" "/opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.1o4pcvgjwo1rh4bi.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-6d5aafec802fc9e7.rlib" "/opt/rustwide/target/debug/deps/libdiscard-1415ef746499cfd1.rlib" "/opt/rustwide/target/debug/deps/libstdweb_internal_runtime-eacdfb77a9052ef6.rlib" "/opt/rustwide/target/debug/deps/libserde_json-0543da4049354bec.rlib" "/opt/rustwide/target/debug/deps/libryu-c2f4e7ccd1c02ee2.rlib" "/opt/rustwide/target/debug/deps/libitoa-c56ff378b0141619.rlib" "/opt/rustwide/target/debug/deps/libserde-d8d021277ef79377.rlib" "/opt/rustwide/target/debug/deps/libchrono-b4065567c44755f3.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-40614c7ab30ccc3a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7201d1d9077769fe.rlib" "/opt/rustwide/target/debug/deps/libtime-a8eb531cd83ab208.rlib" "/opt/rustwide/target/debug/deps/liblibc-c4b729857f37b9a3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/calendar_wasm_rust-8236ff1c2c061c55.calendar_wasm_rust.1muvpp7j-cgu.15.rcgu.o: in function `stdweb::webapi::parent_node::IParentNode::query_selector': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:37: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6d5aafec802fc9e7.rlib(stdweb-6d5aafec802fc9e7.stdweb.6pefc2sb-cgu.0.rcgu.o): in function `::from_canvas': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/rendering_context.rs:289: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6d5aafec802fc9e7.rlib(stdweb-6d5aafec802fc9e7.stdweb.6pefc2sb-cgu.0.rcgu.o): in function `stdweb::webapi::rendering_context::CanvasRenderingContext2d::set_fill_style_color': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/rendering_context.rs:377: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6d5aafec802fc9e7.rlib(stdweb-6d5aafec802fc9e7.stdweb.6pefc2sb-cgu.0.rcgu.o): in function `stdweb::webapi::rendering_context::CanvasRenderingContext2d::set_font': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/rendering_context.rs:423: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6d5aafec802fc9e7.rlib(stdweb-6d5aafec802fc9e7.stdweb.6pefc2sb-cgu.0.rcgu.o): in function `stdweb::webapi::rendering_context::CanvasRenderingContext2d::set_stroke_style_color': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/rendering_context.rs:765: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6d5aafec802fc9e7.rlib(stdweb-6d5aafec802fc9e7.stdweb.6pefc2sb-cgu.0.rcgu.o):/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/rendering_context.rs:873: more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6d5aafec802fc9e7.rlib(stdweb-6d5aafec802fc9e7.stdweb.6pefc2sb-cgu.2.rcgu.o): in function `stdweb::webcore::ffi::emscripten::event_loop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/ffi/emscripten.rs:9: undefined reference to `emscripten_pause_main_loop' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_set_main_loop' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calendar_wasm_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "74eea558cf6913a6950eb497d9e5a879ec35605c184673951e2932aabf5e9f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74eea558cf6913a6950eb497d9e5a879ec35605c184673951e2932aabf5e9f1f", kill_on_drop: false }` [INFO] [stdout] 74eea558cf6913a6950eb497d9e5a879ec35605c184673951e2932aabf5e9f1f