[INFO] fetching crate thorium 0.4.0...
[INFO] testing thorium-0.4.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate thorium 0.4.0 into /workspace/builds/worker-0-tc2/source
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config
[INFO] started tweaking crates.io crate thorium 0.4.0
[INFO] finished tweaking crates.io crate thorium 0.4.0
[INFO] tweaked toml for crates.io crate thorium 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate thorium 0.4.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 9 packages to latest compatible versions
[INFO] [stderr]       Adding beryllium v0.0.10 (available: v0.13.3)
[INFO] [stderr]       Adding gba-proc-macro v0.5.0 (available: v0.6.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7189e7fc60571d784345db6dcfeb0c1c7fd7d46a21ef6be4259cd24314bceecb
[INFO] running `Command { std: "docker" "start" "-a" "7189e7fc60571d784345db6dcfeb0c1c7fd7d46a21ef6be4259cd24314bceecb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7189e7fc60571d784345db6dcfeb0c1c7fd7d46a21ef6be4259cd24314bceecb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7189e7fc60571d784345db6dcfeb0c1c7fd7d46a21ef6be4259cd24314bceecb", kill_on_drop: false }`
[INFO] [stdout] 7189e7fc60571d784345db6dcfeb0c1c7fd7d46a21ef6be4259cd24314bceecb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9156f56602cc3b032827bd5045d9ccf586d0e3d8d95dd6dfada3e17b134c1117
[INFO] running `Command { std: "docker" "start" "-a" "9156f56602cc3b032827bd5045d9ccf586d0e3d8d95dd6dfada3e17b134c1117", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling fermium v0.0.15
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling phantom-fields v0.1.2
[INFO] [stderr]    Compiling gba-proc-macro v0.5.0
[INFO] [stderr]    Compiling beryllium v0.0.10
[INFO] [stderr]    Compiling thorium v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `[interchange::StereoI16]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:316:58
[INFO] [stdout]     |
[INFO] [stdout] 316 |   memory: &mut GameMemory, samples_per_second: i32, buf: &mut [StereoI16],
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[interchange::StereoI16]`, which is not FFI-safe
[INFO] [stdout]    --> src/interchange.rs:106:34
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub type GameGetSoundSamplesFn = extern "C" fn(&mut GameMemory, i32, &mut [StereoI16]);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcVH2XHr/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libberyllium-2c6a2f3cfa90970c,libfermium-38bc1a420e7a4641,liblibc-ae6ce1707c2b4634,libthorium}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libpanic_abort-*,libstd-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lasound" "-lm" "-ldl" "-lpulse" "-lsamplerate" "-lX11" "-lXext" "-lXcursor" "-lXi" "-lXfixes" "-lXrandr" "-lXss" "-ldrm" "-lgbm" "-lwayland-egl" "-lwayland-client" "-lwayland-cursor" "-lxkbcommon" "-ldecor-0" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcVH2XHr/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/thorium-3b301503c2ad656c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: SDL_LockSurface
[INFO] [stdout]           >>> referenced by surface.rs:98 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beryllium-0.0.10/src/surface.rs:98)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/thorium-3b301503c2ad656c.thorium.a4d6b02fa5e74e44-cgu.2.rcgu.o:(beryllium::surface::Surface::lock_edit::h5d4335af24ae1f50)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_UnlockSurface
[INFO] [stdout]           >>> referenced by surface.rs:101 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beryllium-0.0.10/src/surface.rs:101)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/thorium-3b301503c2ad656c.thorium.a4d6b02fa5e74e44-cgu.2.rcgu.o:(beryllium::surface::Surface::lock_edit::h5d4335af24ae1f50)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_DestroyWindow
[INFO] [stdout]           >>> referenced by window.rs:70 (src/window.rs:70)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.0.rcgu.o:(_$LT$beryllium..window..Window$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd254ad341d6c0122) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_GetWindowDisplayMode
[INFO] [stdout]           >>> referenced by window.rs:145 (src/window.rs:145)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.0.rcgu.o:(beryllium::window::Window::display_mode::hc7bc99b3da98b4c3) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_CreateRenderer
[INFO] [stdout]           >>> referenced by window.rs:112 (src/window.rs:112)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.0.rcgu.o:(beryllium::window::Window::create_renderer::he88bf1c5756aef30) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_SetWindowDisplayMode
[INFO] [stdout]           >>> referenced by window.rs:0 (src/window.rs:0)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.0.rcgu.o:(beryllium::window::Window::set_display_mode::h8c1a6ab49692b45c) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           >>> referenced by window.rs:0 (src/window.rs:0)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.0.rcgu.o:(beryllium::window::Window::set_display_mode::h8c1a6ab49692b45c) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_SetWindowFullscreen
[INFO] [stdout]           >>> referenced by window.rs:180 (src/window.rs:180)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.0.rcgu.o:(beryllium::window::Window::set_fullscreen_style::h01824ab2edb713aa) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_SetWindowSize
[INFO] [stdout]           >>> referenced by window.rs:139 (src/window.rs:139)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.0.rcgu.o:(beryllium::window::Window::set_size::h497e4600215566c9) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_UnloadObject
[INFO] [stdout]           >>> referenced by cdylib.rs:20 (src/cdylib.rs:20)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(_$LT$beryllium..cdylib..CDyLib$u20$as$u20$core..ops..drop..Drop$GT$::drop::h34e5d7cb2ea302e0) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_FreeSurface
[INFO] [stdout]           >>> referenced by surface.rs:82 (src/surface.rs:82)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(_$LT$beryllium..surface..Surface$u20$as$u20$core..ops..drop..Drop$GT$::drop::hce8ad0866a2aac39) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_DestroyTexture
[INFO] [stdout]           >>> referenced by texture.rs:15 (src/texture.rs:15)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(_$LT$beryllium..texture..Texture$u20$as$u20$core..ops..drop..Drop$GT$::drop::h715c81dd959a188e) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_CloseAudioDevice
[INFO] [stdout]           >>> referenced by audio.rs:73 (src/audio.rs:73)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(_$LT$beryllium..audio..AudioQueue$u20$as$u20$core..ops..drop..Drop$GT$::drop::he947512288cdc0a3) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_DestroyRenderer
[INFO] [stdout]           >>> referenced by renderer.rs:40 (src/renderer.rs:40)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(_$LT$beryllium..renderer..Renderer$u20$as$u20$core..ops..drop..Drop$GT$::drop::h215641b1c924b31a) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_GameControllerClose
[INFO] [stdout]           >>> referenced by controller.rs:20 (src/controller.rs:20)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(_$LT$beryllium..controller..Controller$u20$as$u20$core..ops..drop..Drop$GT$::drop::ha7cc0505fbdf62ed) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_GameControllerName
[INFO] [stdout]           >>> referenced by controller.rs:40 (src/controller.rs:40)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(beryllium::controller::Controller::name::h2f72174293f9460c) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_strlen
[INFO] [stdout]           >>> referenced by lib.rs:155 (src/lib.rs:155)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(beryllium::controller::Controller::name::h2f72174293f9460c) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           >>> referenced by lib.rs:155 (src/lib.rs:155)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.1.rcgu.o:(beryllium::get_error::h0133d937da63a61a) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_PauseAudioDevice
[INFO] [stdout]           >>> referenced by audio.rs:103 (src/audio.rs:103)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(beryllium::audio::AudioQueue::set_paused::h6e84e5c90dd723ee) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_QueueAudio
[INFO] [stdout]           >>> referenced by audio.rs:128 (src/audio.rs:128)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(beryllium::audio::AudioQueue::queue_audio::hf0ae96d39029c873) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_GetQueuedAudioSize
[INFO] [stdout]           >>> referenced by audio.rs:114 (src/audio.rs:114)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(beryllium::audio::AudioQueue::queued_audio_size::hfa71e135886e86d5) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SDL_ClearQueuedAudio
[INFO] [stdout]           >>> referenced by audio.rs:118 (src/audio.rs:118)
[INFO] [stdout]           >>>               beryllium-2c6a2f3cfa90970c.beryllium.7047654df0ab8459-cgu.2.rcgu.o:(beryllium::audio::AudioQueue::clear::h082fc95a24f67042) in archive /opt/rustwide/target/debug/deps/libberyllium-2c6a2f3cfa90970c.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thorium` (bin "thorium") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "9156f56602cc3b032827bd5045d9ccf586d0e3d8d95dd6dfada3e17b134c1117", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9156f56602cc3b032827bd5045d9ccf586d0e3d8d95dd6dfada3e17b134c1117", kill_on_drop: false }`
[INFO] [stdout] 9156f56602cc3b032827bd5045d9ccf586d0e3d8d95dd6dfada3e17b134c1117
