[INFO] cloning repository https://github.com/logaritmisk/rust-smb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/logaritmisk/rust-smb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogaritmisk%2Frust-smb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogaritmisk%2Frust-smb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa8e003a9e86c0227f7cfa01c1b2513cae7e7363 [INFO] building logaritmisk/rust-smb against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogaritmisk%2Frust-smb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/logaritmisk/rust-smb [INFO] finished tweaking git repo https://github.com/logaritmisk/rust-smb [INFO] tweaked toml for git repo https://github.com/logaritmisk/rust-smb written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/logaritmisk/rust-smb on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/logaritmisk/rust-smb 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 023073c93c1ccf16365b46ac676f32bbc108ef8a6b8addf9ccbc9bfff9030c06 [INFO] running `Command { std: "docker" "start" "-a" "023073c93c1ccf16365b46ac676f32bbc108ef8a6b8addf9ccbc9bfff9030c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "023073c93c1ccf16365b46ac676f32bbc108ef8a6b8addf9ccbc9bfff9030c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023073c93c1ccf16365b46ac676f32bbc108ef8a6b8addf9ccbc9bfff9030c06", kill_on_drop: false }` [INFO] [stdout] 023073c93c1ccf16365b46ac676f32bbc108ef8a6b8addf9ccbc9bfff9030c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 923753fe20ba8fd9f34d3b68fb0480a99b19c6029e83d04abf905def99af42ac [INFO] running `Command { std: "docker" "start" "-a" "923753fe20ba8fd9f34d3b68fb0480a99b19c6029e83d04abf905def99af42ac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.32 [INFO] [stderr] Compiling libc v0.2.11 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling lazy_static v0.2.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling num v0.1.32 [INFO] [stderr] Compiling sdl2 v0.25.0 [INFO] [stderr] Compiling sdl2_image v0.25.0 [INFO] [stderr] Compiling super-matte-bros v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sprite.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | fn render(&self, f64, &mut Renderer, &Rect); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sprite.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn render(&self, f64, &mut Renderer, &Rect); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sprite.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | fn render(&self, f64, &mut Renderer, &Rect); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Rect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/component.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | fn update(&self, &GameObject); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameObject` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/component.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&self, &GameObject, f64, &mut Renderer, &Rect); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameObject` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/component.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&self, &GameObject, f64, &mut Renderer, &Rect); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/component.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&self, &GameObject, f64, &mut Renderer, &Rect); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/component.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&self, &GameObject, f64, &mut Renderer, &Rect); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Rect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_object.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | physics: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 15 | physics: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_object.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | graphics: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 16 | graphics: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_object.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(x: f32, y: f32, physics: Box, graphics: Box) -> GameObject<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 20 | pub fn new(x: f32, y: f32, physics: Box, graphics: Box) -> GameObject<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_object.rs:20:76 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(x: f32, y: f32, physics: Box, graphics: Box) -> GameObject<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 20 | pub fn new(x: f32, y: f32, physics: Box, graphics: Box) -> GameObject<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dy`, and `gravity` are never read [INFO] [stdout] --> src/player_components.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PlayerPhysicsComponent { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 12 | pub dx: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub dy: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub gravity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcXZbmlw/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2_image-6d65ce24aa23778d,libbitflags-ed87549ac517e209,libsdl2-bea32493311dbc21,librand-041840c6faf6fa98,libsdl2_sys-07ab7a125a31d53b,libbitflags-cf0e6924054c14d8,liblazy_static-58d9bbabec980f0b,liblibc-ad00e84409ca770d,libnum-c3d928624adc78db,libnum_iter-d86c5793b6f911ed,libnum_integer-0f55d2b4ea6b8ff1,libnum_traits-d29ae56c5266471a}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,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" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcXZbmlw/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/super_matte_bros-edcc5330b169fdc9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `super-matte-bros` (bin "super-matte-bros") due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "923753fe20ba8fd9f34d3b68fb0480a99b19c6029e83d04abf905def99af42ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923753fe20ba8fd9f34d3b68fb0480a99b19c6029e83d04abf905def99af42ac", kill_on_drop: false }` [INFO] [stdout] 923753fe20ba8fd9f34d3b68fb0480a99b19c6029e83d04abf905def99af42ac