[INFO] cloning repository https://github.com/planet0104/art_pattern
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/planet0104/art_pattern" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Fart_pattern", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Fart_pattern'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29d9431f547e265dbdd5416ccc3187a93f6a3da1
[INFO] testing planet0104/art_pattern against 1.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Fart_pattern" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/planet0104/art_pattern on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-5/source/Cargo.toml
[INFO] crate git repo https://github.com/planet0104/art_pattern already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6490098f3e83f3bf0f9063ff92765b8f33ce6561ee646577337455a1a7eab1ba
[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" "6490098f3e83f3bf0f9063ff92765b8f33ce6561ee646577337455a1a7eab1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6490098f3e83f3bf0f9063ff92765b8f33ce6561ee646577337455a1a7eab1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6490098f3e83f3bf0f9063ff92765b8f33ce6561ee646577337455a1a7eab1ba", kill_on_drop: false }`
[INFO] [stdout] 6490098f3e83f3bf0f9063ff92765b8f33ce6561ee646577337455a1a7eab1ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4036cb8a1a9fde6843a7ec9bc9262cd52a1c1930abe975aeaf16743b139c0f2d
[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" "4036cb8a1a9fde6843a7ec9bc9262cd52a1c1930abe975aeaf16743b139c0f2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]    Compiling stdweb v0.4.8
[INFO] [stderr]    Compiling itoa v0.4.2
[INFO] [stderr]    Compiling art_pattern v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling discard v1.0.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.8
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]    Compiling syn v0.12.15
[INFO] [stderr]    Compiling quote v0.6.3
[INFO] [stderr]    Compiling syn v0.14.4
[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] [stdout] warning: unnecessary braces around method argument
[INFO] [stdout]   --> src/main.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |     ul.append_child({ &elem_content("li", "第一章 绘图入门") });
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around method argument
[INFO] [stdout]    --> src/main.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |     ul.append_child({ &elem_content("li", "第二章 图案变换及操作") });
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around method argument
[INFO] [stdout]    --> src/main.rs:321:21
[INFO] [stdout]     |
[INFO] [stdout] 321 |     ul.append_child({ &elem_content("li", "第三章 图案程序60例") });
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `draw`
[INFO] [stdout]  --> src/chapter2/sample11.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn draw(context: &CanvasRenderingContext2d) {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `set_param`
[INFO] [stdout]   --> src/main.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn set_param(i: i32, value: &str) {
[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/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a" "/opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.13in7uiw3lq5hend.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib" "/opt/rustwide/target/debug/deps/libdiscard-f70e88a7f84370c3.rlib" "/opt/rustwide/target/debug/deps/libserde_json-894bb421c41a2656.rlib" "/opt/rustwide/target/debug/deps/libitoa-3aebf3429001af3f.rlib" "/opt/rustwide/target/debug/deps/libdtoa-49c374d92c4a95ed.rlib" "/opt/rustwide/target/debug/deps/libserde-6342bc2a3ba63030.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cf0f33af3a901778.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-daf8c2d692e6eca4.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-24e8f97647425e48.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-85ed7d2b484c05a9.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-89de2c581262ec09.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-3b0db98e62ed7d75.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c60847f9a163de82.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0bb9b63424f4fc5d.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-3f74d829e37fa40e.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e9d83ff06f1a7ad.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-2c8c904efaf7c40b.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cbfb51de52131460.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-97497c26fddb7882.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f1a9d8c443e20b5e.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.0.rcgu.o: in function `art_pattern::random':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:28: undefined reference to `emscripten_asm_const_int'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.0.rcgu.o: in function `art_pattern::hide_params':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:56: undefined reference to `emscripten_asm_const_int'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.0.rcgu.o: in function `art_pattern::show_params':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:59: undefined reference to `emscripten_asm_const_int'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.0.rcgu.o: in function `art_pattern::handle_click::{{closure}}':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:366: undefined reference to `emscripten_asm_const_int'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:369: undefined reference to `emscripten_asm_const_int'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-eb6327035ab1577a.art_pattern.5y51tqwk-cgu.0.rcgu.o:/opt/rustwide/workdir/src/main.rs:380: more undefined references to `emscripten_asm_const_int' follow
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib(stdweb-783406d3f2ac1ed0.stdweb.bbf2wzdh-cgu.13.rcgu.o): in function `stdweb::webcore::ffi::emscripten::event_loop':
[INFO] [stdout]           /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] [stdout]           /usr/bin/ld: /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] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib(stdweb-783406d3f2ac1ed0.stdweb.bbf2wzdh-cgu.3.rcgu.o): in function `stdweb::webapi::html_elements::canvas::CanvasElement::set_height':
[INFO] [stdout]           /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] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib(stdweb-783406d3f2ac1ed0.stdweb.bbf2wzdh-cgu.3.rcgu.o): in function `stdweb::webapi::html_elements::canvas::CanvasElement::set_width':
[INFO] [stdout]           /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] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib(stdweb-783406d3f2ac1ed0.stdweb.bbf2wzdh-cgu.3.rcgu.o): in function `<stdweb::webapi::html_elements::canvas::CanvasElement as stdweb::webcore::instance_of::InstanceOf>::instance_of':
[INFO] [stdout]           /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] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib(stdweb-783406d3f2ac1ed0.stdweb.bbf2wzdh-cgu.4.rcgu.o): in function `<stdweb::webcore::value::Reference as core::ops::drop::Drop>::drop':
[INFO] [stdout]           /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] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib(stdweb-783406d3f2ac1ed0.stdweb.bbf2wzdh-cgu.8.rcgu.o): in function `stdweb::webapi::document::document':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webapi/document.rs:34: undefined reference to `emscripten_asm_const_int'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-783406d3f2ac1ed0.rlib(stdweb-783406d3f2ac1ed0.stdweb.bbf2wzdh-cgu.8.rcgu.o):/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webapi/document.rs:57: more undefined references to `emscripten_asm_const_int' follow
[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 `art_pattern`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4036cb8a1a9fde6843a7ec9bc9262cd52a1c1930abe975aeaf16743b139c0f2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4036cb8a1a9fde6843a7ec9bc9262cd52a1c1930abe975aeaf16743b139c0f2d", kill_on_drop: false }`
[INFO] [stdout] 4036cb8a1a9fde6843a7ec9bc9262cd52a1c1930abe975aeaf16743b139c0f2d
