[INFO] cloning repository https://github.com/andrewthauer/shapes-demo-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewthauer/shapes-demo-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewthauer%2Fshapes-demo-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewthauer%2Fshapes-demo-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2a024d8e88dc5a6b26bea73966dd6d1d187089d [INFO] building andrewthauer/shapes-demo-rs against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewthauer%2Fshapes-demo-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andrewthauer/shapes-demo-rs [INFO] finished tweaking git repo https://github.com/andrewthauer/shapes-demo-rs [INFO] tweaked toml for git repo https://github.com/andrewthauer/shapes-demo-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andrewthauer/shapes-demo-rs on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andrewthauer/shapes-demo-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf3e00e20c7492526b7ad12ecfd7e5caf7be25aade4b63b286b13424914e2c0e [INFO] running `Command { std: "docker" "start" "-a" "bf3e00e20c7492526b7ad12ecfd7e5caf7be25aade4b63b286b13424914e2c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf3e00e20c7492526b7ad12ecfd7e5caf7be25aade4b63b286b13424914e2c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3e00e20c7492526b7ad12ecfd7e5caf7be25aade4b63b286b13424914e2c0e", kill_on_drop: false }` [INFO] [stdout] bf3e00e20c7492526b7ad12ecfd7e5caf7be25aade4b63b286b13424914e2c0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 23f4bb9426e29c172e2eaac78bd629117a3aa87374611eb93283e2ea4d81a105 [INFO] running `Command { std: "docker" "start" "-a" "23f4bb9426e29c172e2eaac78bd629117a3aa87374611eb93283e2ea4d81a105", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.40 [INFO] [stderr] Compiling num-iter v0.1.38 [INFO] [stderr] Compiling semver v0.2.3 [INFO] [stderr] Compiling cmake v0.1.40 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Compiling gl v0.12.0 [INFO] [stderr] Compiling glu v0.1.0 (/opt/rustwide/workdir/glu) [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling glfw v0.28.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/wasm32-wasip1/debug/build/glu-22b970fcdf79f30e/out/bindings.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> glu/src/window.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn event_loop(&mut self, render: &Fn()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn event_loop(&mut self, render: &dyn Fn()) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling demo v0.1.0 (/opt/rustwide/workdir/demo) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libglu-924cfd26ff45f5b9,libgl-a7ad6d7f6467a731,libglfw-3909764453282686,libnum-1a35566862680107,libnum_rational-eb77a10829588884,libnum_iter-99c0f03628576b9c,libnum_complex-94aef97a54247739,libnum_bigint-67df05f00344c522,libnum_integer-0c1da3d4e8009643,libenum_primitive-5129869372a96b74,libnum_traits-ac24a2c5e97ed832,libnum_traits-d934d66d942c2b96,libbitflags-f8618f3a190d3366,liblog-65f9c21640ebc942,libcfg_if-e3689acfdca55ebb,liblibc-1301fa9c58a4e95e,libsemver-eb34b1a25bc9419e,libnom-b35f2d61115a0243}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/glfw-sys-520d8e5cccbe9b04/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/demo-5f8c11649fc76d32.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'context.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'init.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'input.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'monitor.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'vulkan.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'window.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'x11_init.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'x11_monitor.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'x11_window.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'xkb_unicode.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'posix_time.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'posix_thread.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'glx_context.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'egl_context.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'osmesa_context.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib: archive member 'linux_joystick.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglu-924cfd26ff45f5b9.rlib(glu-924cfd26ff45f5b9.glu.67e472c0c8730912-cgu.1.rcgu.o): undefined symbol: glfwInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglu-924cfd26ff45f5b9.rlib(glu-924cfd26ff45f5b9.glu.67e472c0c8730912-cgu.1.rcgu.o): undefined symbol: glfwSwapBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglu-924cfd26ff45f5b9.rlib(glu-924cfd26ff45f5b9.glu.67e472c0c8730912-cgu.3.rcgu.o): undefined symbol: glfwSetErrorCallback [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwCreateWindow [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwGetProcAddress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwPollEvents [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwSetWindowUserPointer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwGetCurrentContext [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwWindowShouldClose [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwSetFramebufferSizeCallback [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwSetFramebufferSizeCallback [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwSetKeyCallback [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwSetKeyCallback [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwGetCurrentContext [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwMakeContextCurrent [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwSetWindowShouldClose [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwTerminate [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwDestroyCursor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwGetWindowUserPointer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-3909764453282686.rlib(glfw-3909764453282686.glfw.f0eb9370ee2a8ca8-cgu.0.rcgu.o): undefined symbol: glfwDestroyWindow [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo` (bin "demo") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "23f4bb9426e29c172e2eaac78bd629117a3aa87374611eb93283e2ea4d81a105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f4bb9426e29c172e2eaac78bd629117a3aa87374611eb93283e2ea4d81a105", kill_on_drop: false }` [INFO] [stdout] 23f4bb9426e29c172e2eaac78bd629117a3aa87374611eb93283e2ea4d81a105