[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 beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Fart_pattern" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/planet0104/art_pattern on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-3/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 5176e2e35d2fd4361b70e99fab1f405dd437629839904202ff04901537ebfa46 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "5176e2e35d2fd4361b70e99fab1f405dd437629839904202ff04901537ebfa46"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] [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/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0" "/opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.4ys3b1daq04cqfe4.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-caeca67595c5ae0c.rlib" "/opt/rustwide/target/debug/deps/libdiscard-36b202477d5351d6.rlib" "/opt/rustwide/target/debug/deps/libserde_json-53d02430abd81792.rlib" "/opt/rustwide/target/debug/deps/libitoa-14f852bd5e8aff1f.rlib" "/opt/rustwide/target/debug/deps/libdtoa-9e99d0458f56d0e4.rlib" "/opt/rustwide/target/debug/deps/libserde-2bb144f7bb20b851.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-44f8eb3d0b2fad61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-abc626f09920d361.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-546e83c8973f1a65.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-12768dfc68674934.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e06867e4497f2ee8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cbc579f43f6df57b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7abd6d5a7ebf9a23.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-46423c7bc03bd327.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc3773ed7bc68f07.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-9cdc98176efd27e2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-02d88502a763e06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8cdc9d38dd6cd3ce.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-336f7d63e72901ef.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-57917b1be5233117.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-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] /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-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] /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-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] /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-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] /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:369: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/art_pattern-f2654244fcf552a0.art_pattern.cv3ebqxe-cgu.0.rcgu.o:/opt/rustwide/workdir/src/main.rs:380: more undefined references to `emscripten_asm_const_int' follow [INFO] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-caeca67595c5ae0c.rlib(stdweb-caeca67595c5ae0c.stdweb.eohyzln9-cgu.1.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] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-caeca67595c5ae0c.rlib(stdweb-caeca67595c5ae0c.stdweb.eohyzln9-cgu.10.rcgu.o): in function `::drop': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/symbol.rs:30: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-caeca67595c5ae0c.rlib(stdweb-caeca67595c5ae0c.stdweb.eohyzln9-cgu.11.rcgu.o): in function `stdweb::webcore::initialization::initialize': [INFO] [stderr] /opt/rustwide/target/debug/build/stdweb-bd563ae7a257d134/out/runtime.rs:1: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-caeca67595c5ae0c.rlib(stdweb-caeca67595c5ae0c.stdweb.eohyzln9-cgu.11.rcgu.o): in function `stdweb::webcore::initialization::initialize::{{closure}}': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/initialization.rs:24: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/initialization.rs:26: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/initialization.rs:32: undefined reference to `emscripten_asm_const_int' [INFO] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-caeca67595c5ae0c.rlib(stdweb-caeca67595c5ae0c.stdweb.eohyzln9-cgu.4.rcgu.o):/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.8/src/webcore/value.rs:89: more undefined references to `emscripten_asm_const_int' follow [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" "5176e2e35d2fd4361b70e99fab1f405dd437629839904202ff04901537ebfa46"` [INFO] running `"docker" "rm" "-f" "5176e2e35d2fd4361b70e99fab1f405dd437629839904202ff04901537ebfa46"` [INFO] [stdout] 5176e2e35d2fd4361b70e99fab1f405dd437629839904202ff04901537ebfa46