[INFO] cloning repository https://github.com/scott-ad-riley/rusty-lunch-of-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scott-ad-riley/rusty-lunch-of-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscott-ad-riley%2Frusty-lunch-of-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscott-ad-riley%2Frusty-lunch-of-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ccfbf086afb5ea1bf8077d5fd136eebf0a8e2cd [INFO] testing scott-ad-riley/rusty-lunch-of-wasm against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscott-ad-riley%2Frusty-lunch-of-wasm" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scott-ad-riley/rusty-lunch-of-wasm on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scott-ad-riley/rusty-lunch-of-wasm [INFO] finished tweaking git repo https://github.com/scott-ad-riley/rusty-lunch-of-wasm [INFO] tweaked toml for git repo https://github.com/scott-ad-riley/rusty-lunch-of-wasm written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/scott-ad-riley/rusty-lunch-of-wasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.25 [INFO] [stderr] Downloaded stdweb v0.2.0 [INFO] running `Command { std: "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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0329833b2b1207cf4348bd41951fb33c9f22b132f80d0efe3e49c37d8bda03fd [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" "0329833b2b1207cf4348bd41951fb33c9f22b132f80d0efe3e49c37d8bda03fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0329833b2b1207cf4348bd41951fb33c9f22b132f80d0efe3e49c37d8bda03fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0329833b2b1207cf4348bd41951fb33c9f22b132f80d0efe3e49c37d8bda03fd", kill_on_drop: false }` [INFO] [stdout] 0329833b2b1207cf4348bd41951fb33c9f22b132f80d0efe3e49c37d8bda03fd [INFO] running `Command { std: "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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767a72c851b0ef4e895357472bf08288da8390d99311ab397b5f2c7823e9a461 [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" "767a72c851b0ef4e895357472bf08288da8390d99311ab397b5f2c7823e9a461", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.25 [INFO] [stderr] Compiling rand v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.8 [INFO] [stderr] Compiling stdweb v0.2.0 [INFO] [stderr] Compiling rusty-lunch-of-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `choice` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let choice = rng.choose(&FOOD_PLACES).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_choice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b" "/opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.1byroixmcu5hgdtl.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-7206abe4f49dfff3.rlib" "/opt/rustwide/target/debug/deps/liblibc-569851e0aefda6e8.rlib" "/opt/rustwide/target/debug/deps/libstdweb-793c601f644ccb2c.rlib" "/opt/rustwide/target/debug/deps/libserde_json-4984b7c4343a1dcf.rlib" "/opt/rustwide/target/debug/deps/libdtoa-9e582f846bf6d236.rlib" "/opt/rustwide/target/debug/deps/libitoa-a74952ebff40760e.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-864833d4f372876d.rlib" "/opt/rustwide/target/debug/deps/libserde-ad272b6fd71592cf.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7444fd17919e9af0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-0ee2f67026959ab7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-df1bcd1e82256d04.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ed9ecf1b54021131.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0ede66bb24e94b96.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7c2de7f50940865c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-b138d50085fd4683.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6576870d8f2b9ae2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-042a30c5f67b2c91.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7b3f33d3dbe385dc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-90b3063cd7b22527.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-17f9484f8dc4da1e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-df38345acd9d92e1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5e10ca10bdd9e54.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9e5b4162eeef2cef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3a4e739a77468800.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0f3a0c116d5e04d6.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.15.rcgu.o: in function `stdweb::webcore::value::Reference::from_raw_unchecked': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.2.0/src/webcore/value.rs:29: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.3.rcgu.o: in function ` as stdweb::webcore::serialization::FuncallAdapter>::funcall_adapter': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.2.0/src/webcore/serialization.rs:948: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rusty_lunch_of_wasm-9be97e9bbe6fc90b.rusty_lunch_of_wasm.f2k917yr-cgu.6.rcgu.o: in function `rusty_lunch_of_wasm::main': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:37: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-793c601f644ccb2c.rlib(stdweb-793c601f644ccb2c.stdweb.7nmzevin-cgu.11.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.2.0/src/webcore/value.rs:59: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-793c601f644ccb2c.rlib(stdweb-793c601f644ccb2c.stdweb.7nmzevin-cgu.15.rcgu.o): in function `stdweb::webcore::initialization::initialize': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.2.0/src/webcore/initialization.rs:17: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-793c601f644ccb2c.rlib(stdweb-793c601f644ccb2c.stdweb.7nmzevin-cgu.15.rcgu.o):/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.2.0/src/webcore/initialization.rs:22: 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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-lunch-of-wasm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "767a72c851b0ef4e895357472bf08288da8390d99311ab397b5f2c7823e9a461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767a72c851b0ef4e895357472bf08288da8390d99311ab397b5f2c7823e9a461", kill_on_drop: false }` [INFO] [stdout] 767a72c851b0ef4e895357472bf08288da8390d99311ab397b5f2c7823e9a461