[INFO] updating cached repository https://github.com/planet0104/art_pattern [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 29d9431f547e265dbdd5416ccc3187a93f6a3da1 [INFO] testing planet0104/art_pattern against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Fart_pattern" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/planet0104/art_pattern on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/planet0104/art_pattern [INFO] finished tweaking git repo https://github.com/planet0104/art_pattern [INFO] tweaked toml for git repo https://github.com/planet0104/art_pattern written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/planet0104/art_pattern already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2f608bcccc24afe037d5b06236026d02ccda66bd0ad4589925152349db401a59 [INFO] running `"docker" "start" "-a" "2f608bcccc24afe037d5b06236026d02ccda66bd0ad4589925152349db401a59"` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling stdweb v0.4.8 [INFO] [stderr] Compiling discard v1.0.3 [INFO] [stderr] Compiling art_pattern v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling serde_json v1.0.24 [INFO] [stderr] Compiling stdweb-derive v0.4.0 [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/main.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | ul.append_child({ &elem_content("li", "第一章 绘图入门") }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/main.rs:177:21 [INFO] [stderr] | [INFO] [stderr] 177 | ul.append_child({ &elem_content("li", "第二章 图案变换及操作") }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/main.rs:321:21 [INFO] [stderr] | [INFO] [stderr] 321 | ul.append_child({ &elem_content("li", "第三章 图案程序60例") }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw` [INFO] [stderr] --> src/chapter2/sample11.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn draw(context: &CanvasRenderingContext2d) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_param` [INFO] [stderr] --> src/main.rs:46:4 [INFO] [stderr] | [INFO] [stderr] 46 | fn set_param(i: i32, value: &str) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0" "/opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.5ca363pvftxtk8vq.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-1c67961accf34f40.rlib" "/opt/rustwide/target/debug/deps/libdiscard-69fbce4c6d24fd57.rlib" "/opt/rustwide/target/debug/deps/libserde_json-0940522a3befaa90.rlib" "/opt/rustwide/target/debug/deps/libitoa-362eb5a4cd01af95.rlib" "/opt/rustwide/target/debug/deps/libdtoa-191dc84f460e4ca8.rlib" "/opt/rustwide/target/debug/deps/libserde-4a63a89e8b38f545.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.0.rcgu.o: In function `art_pattern::random': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:28: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.0.rcgu.o: In function `art_pattern::hide_params': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:56: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.0.rcgu.o: In function `art_pattern::show_params': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:59: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.0.rcgu.o: In function `art_pattern::handle_click::{{closure}}': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:366: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:369: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/art_pattern-405e2a10911c91c0.art_pattern.9ae0wuk2-cgu.0.rcgu.o:/opt/rustwide/workdir/src/main.rs:380: more undefined references to `emscripten_asm_const_int' follow [INFO] [stderr] /opt/rustwide/target/debug/deps/libstdweb-1c67961accf34f40.rlib(stdweb-1c67961accf34f40.stdweb.bwyfsyji-cgu.3.rcgu.o): In function `stdweb::webcore::ffi::emscripten::event_loop': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/ffi/emscripten.rs:9: undefined reference to `emscripten_pause_main_loop' [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_set_main_loop' [INFO] [stderr] /opt/rustwide/target/debug/deps/libstdweb-1c67961accf34f40.rlib(stdweb-1c67961accf34f40.stdweb.bwyfsyji-cgu.4.rcgu.o): In function `::drop': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/value.rs:89: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/libstdweb-1c67961accf34f40.rlib(stdweb-1c67961accf34f40.stdweb.bwyfsyji-cgu.5.rcgu.o): In function `stdweb::webapi::html_elements::canvas::CanvasElement::set_height': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webapi/html_elements/canvas.rs:47: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/libstdweb-1c67961accf34f40.rlib(stdweb-1c67961accf34f40.stdweb.bwyfsyji-cgu.5.rcgu.o): In function `stdweb::webapi::html_elements::canvas::CanvasElement::set_width': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webapi/html_elements/canvas.rs:71: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /opt/rustwide/target/debug/deps/libstdweb-1c67961accf34f40.rlib(stdweb-1c67961accf34f40.stdweb.bwyfsyji-cgu.5.rcgu.o): In function `::instance_of': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webapi/html_elements/canvas.rs:17: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `art_pattern`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2f608bcccc24afe037d5b06236026d02ccda66bd0ad4589925152349db401a59"` [INFO] running `"docker" "rm" "-f" "2f608bcccc24afe037d5b06236026d02ccda66bd0ad4589925152349db401a59"` [INFO] [stdout] 2f608bcccc24afe037d5b06236026d02ccda66bd0ad4589925152349db401a59