[INFO] cloning repository https://github.com/zenathark/learnopengl-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zenathark/learnopengl-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Flearnopengl-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Flearnopengl-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68dc3976ded907f6cb2fd2c31e8b4c1fe0226ef9 [INFO] building zenathark/learnopengl-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Flearnopengl-rust" "/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/zenathark/learnopengl-rust [INFO] finished tweaking git repo https://github.com/zenathark/learnopengl-rust [INFO] tweaked toml for git repo https://github.com/zenathark/learnopengl-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zenathark/learnopengl-rust 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/zenathark/learnopengl-rust 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] bb250938e83b6f78d148c00c3a5903bf4cc701d35c32fbe26ec75638264838f7 [INFO] running `Command { std: "docker" "start" "-a" "bb250938e83b6f78d148c00c3a5903bf4cc701d35c32fbe26ec75638264838f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb250938e83b6f78d148c00c3a5903bf4cc701d35c32fbe26ec75638264838f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb250938e83b6f78d148c00c3a5903bf4cc701d35c32fbe26ec75638264838f7", kill_on_drop: false }` [INFO] [stdout] bb250938e83b6f78d148c00c3a5903bf4cc701d35c32fbe26ec75638264838f7 [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] 825d77411eb60fa17812fd599b0a47eecd6b7540ad6d27f9178353f1df15c42c [INFO] running `Command { std: "docker" "start" "-a" "825d77411eb60fa17812fd599b0a47eecd6b7540ad6d27f9178353f1df15c42c", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling semver v0.2.3 [INFO] [stderr] Compiling cmake v0.1.40 [INFO] [stderr] Compiling gl_generator v0.13.0 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glfw v0.30.0 [INFO] [stderr] Compiling learn_opengl_in_rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chap01.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(str::from_utf8(&info_log).unwrap().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 145 | panic!("{}", str::from_utf8(&info_log).unwrap().to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chap01.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | panic!(str::from_utf8(&info_log).unwrap().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 171 | panic!("{}", str::from_utf8(&info_log).unwrap().to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chap01.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | panic!(str::from_utf8(&info_log).unwrap().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 190 | panic!("{}", str::from_utf8(&info_log).unwrap().to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [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" "<3 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libglfw-af2b54db04b462a9,libbitflags-783ca2bd9261e989,liblog-cfc864d699cbc055,libcfg_if-e3689acfdca55ebb,liblibc-e0901ff9477fdefa,libsemver-eb34b1a25bc9419e,libnom-b35f2d61115a0243,libgl-639c75201979b33a}.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-ff709d9bd2f0743f/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/learn_opengl_in_rust-b0aa0f930489c1b1.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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-af2b54db04b462a9.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/learn_opengl_in_rust-b0aa0f930489c1b1.learn_opengl_in_rust.e3f767061611e7fb-cgu.0.rcgu.o: undefined symbol: glfwInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/learn_opengl_in_rust-b0aa0f930489c1b1.learn_opengl_in_rust.e3f767061611e7fb-cgu.0.rcgu.o: undefined symbol: glfwSwapBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/learn_opengl_in_rust-b0aa0f930489c1b1.learn_opengl_in_rust.e3f767061611e7fb-cgu.1.rcgu.o: undefined symbol: glfwSetErrorCallback [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.1.rcgu.o): undefined symbol: glfwGetWindowUserPointer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.1.rcgu.o): undefined symbol: glfwGetTime [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.1.rcgu.o): undefined symbol: glfwGetTime [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwCreateWindow [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwGetProcAddress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHintString [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwPollEvents [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libglfw-af2b54db04b462a9.rlib(glfw-af2b54db04b462a9.glfw.60309f6a38ec8bf7-cgu.2.rcgu.o): undefined symbol: glfwWindowHint [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 `learn_opengl_in_rust` (bin "learn_opengl_in_rust") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "825d77411eb60fa17812fd599b0a47eecd6b7540ad6d27f9178353f1df15c42c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825d77411eb60fa17812fd599b0a47eecd6b7540ad6d27f9178353f1df15c42c", kill_on_drop: false }` [INFO] [stdout] 825d77411eb60fa17812fd599b0a47eecd6b7540ad6d27f9178353f1df15c42c