[INFO] cloning repository https://github.com/fwcd/RustyGUI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fwcd/RustyGUI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FRustyGUI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FRustyGUI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f766bdd2ad820ec834d81af79df021cd07ada160 [INFO] checking fwcd/RustyGUI/f766bdd2ad820ec834d81af79df021cd07ada160 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FRustyGUI" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fwcd/RustyGUI on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fwcd/RustyGUI [INFO] finished tweaking git repo https://github.com/fwcd/RustyGUI [INFO] tweaked toml for git repo https://github.com/fwcd/RustyGUI written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fwcd/RustyGUI 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v0.5.0 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded c_vec v1.3.1 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded sdl2 v0.31.0 [INFO] [stderr] Downloaded rand v0.3.22 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded sdl2-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5807ee02e5f0e2ccc9662cab9cd24338b741368177a0dfcee53c48dc4fc8546e [INFO] running `Command { std: "docker" "start" "-a" "5807ee02e5f0e2ccc9662cab9cd24338b741368177a0dfcee53c48dc4fc8546e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5807ee02e5f0e2ccc9662cab9cd24338b741368177a0dfcee53c48dc4fc8546e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5807ee02e5f0e2ccc9662cab9cd24338b741368177a0dfcee53c48dc4fc8546e", kill_on_drop: false }` [INFO] [stdout] 5807ee02e5f0e2ccc9662cab9cd24338b741368177a0dfcee53c48dc4fc8546e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 147a1123b93e82ccfe346410ac0acc8bbc70571e208ab5fbe91a54bd59c67bdc [INFO] running `Command { std: "docker" "start" "-a" "147a1123b93e82ccfe346410ac0acc8bbc70571e208ab5fbe91a54bd59c67bdc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking c_vec v1.3.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling rustygui v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/gui/widgets/container.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | .reduce(|a, b| a.merge(b)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] --> src/utils/reduce.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | fn reduce(mut self, f: F) -> Option where Self: Sized, F: FnMut(T, T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 109 ~ Reduce::reduce(self.childs.iter() [INFO] [stdout] 110 ~ .map(|child| child.borrow().preferred_bounds(graphics).rect()), |a, b| a.merge(b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 109 ~ Iterator::reduce(self.childs.iter() [INFO] [stdout] 110 ~ .map(|child| child.borrow().preferred_bounds(graphics).rect()), |a, b| a.merge(b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/gui/widgets/container.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | .reduce(|a, b| a.merge(b)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] --> src/utils/reduce.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | fn reduce(mut self, f: F) -> Option where Self: Sized, F: FnMut(T, T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 109 ~ Reduce::reduce(self.childs.iter() [INFO] [stdout] 110 ~ .map(|child| child.borrow().preferred_bounds(graphics).rect()), |a, b| a.merge(b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 109 ~ Iterator::reduce(self.childs.iter() [INFO] [stdout] 110 ~ .map(|child| child.borrow().preferred_bounds(graphics).rect()), |a, b| a.merge(b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `texture_creator` does not live long enough [INFO] [stdout] --> src/gui/sdl2/sdl2_graphics.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 73 | impl <'g> Graphics for SDL2Graphics<'g> { [INFO] [stdout] | -- lifetime `'g` defined here [INFO] [stdout] ... [INFO] [stdout] 92 | let texture_creator = self.canvas.texture_creator(); [INFO] [stdout] | --------------- binding `texture_creator` declared here [INFO] [stdout] 93 | let texture = Self::string_to_texture(&self.ttf, self.font_path, &texture_creator, text, params, self.canvas.draw_color()); [INFO] [stdout] | ---------------------------------------------------^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `texture_creator` is borrowed for `'g` [INFO] [stdout] 94 | Self::texture_size(&texture) [INFO] [stdout] 95 | } [INFO] [stdout] | - `texture_creator` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `texture_creator` does not live long enough [INFO] [stdout] --> src/gui/sdl2/sdl2_graphics.rs:109:68 [INFO] [stdout] | [INFO] [stdout] 73 | impl <'g> Graphics for SDL2Graphics<'g> { [INFO] [stdout] | -- lifetime `'g` defined here [INFO] [stdout] ... [INFO] [stdout] 108 | let texture_creator = self.canvas.texture_creator(); [INFO] [stdout] | --------------- binding `texture_creator` declared here [INFO] [stdout] 109 | let texture = Self::string_to_texture(&self.ttf, self.font_path, &texture_creator, text, params, sdl2_color_of(params.color().unwrap_or(APIColor::black())... [INFO] [stdout] | ---------------------------------------------------^^^^^^^^^^^^^^^^--------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `texture_creator` is borrowed for `'g` [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `texture_creator` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustygui` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `texture_creator` does not live long enough [INFO] [stdout] --> src/gui/sdl2/sdl2_graphics.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 73 | impl <'g> Graphics for SDL2Graphics<'g> { [INFO] [stdout] | -- lifetime `'g` defined here [INFO] [stdout] ... [INFO] [stdout] 92 | let texture_creator = self.canvas.texture_creator(); [INFO] [stdout] | --------------- binding `texture_creator` declared here [INFO] [stdout] 93 | let texture = Self::string_to_texture(&self.ttf, self.font_path, &texture_creator, text, params, self.canvas.draw_color()); [INFO] [stdout] | ---------------------------------------------------^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `texture_creator` is borrowed for `'g` [INFO] [stdout] 94 | Self::texture_size(&texture) [INFO] [stdout] 95 | } [INFO] [stdout] | - `texture_creator` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `texture_creator` does not live long enough [INFO] [stdout] --> src/gui/sdl2/sdl2_graphics.rs:109:68 [INFO] [stdout] | [INFO] [stdout] 73 | impl <'g> Graphics for SDL2Graphics<'g> { [INFO] [stdout] | -- lifetime `'g` defined here [INFO] [stdout] ... [INFO] [stdout] 108 | let texture_creator = self.canvas.texture_creator(); [INFO] [stdout] | --------------- binding `texture_creator` declared here [INFO] [stdout] 109 | let texture = Self::string_to_texture(&self.ttf, self.font_path, &texture_creator, text, params, sdl2_color_of(params.color().unwrap_or(APIColor::black())... [INFO] [stdout] | ---------------------------------------------------^^^^^^^^^^^^^^^^--------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `texture_creator` is borrowed for `'g` [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `texture_creator` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustygui` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "147a1123b93e82ccfe346410ac0acc8bbc70571e208ab5fbe91a54bd59c67bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147a1123b93e82ccfe346410ac0acc8bbc70571e208ab5fbe91a54bd59c67bdc", kill_on_drop: false }` [INFO] [stdout] 147a1123b93e82ccfe346410ac0acc8bbc70571e208ab5fbe91a54bd59c67bdc