[INFO] cloning repository https://github.com/nstone8/buglets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nstone8/buglets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstone8%2Fbuglets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstone8%2Fbuglets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f436ee80ef2b924fa8353037db9aef23dd41f534 [INFO] checking nstone8/buglets against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstone8%2Fbuglets" "/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/nstone8/buglets on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nstone8/buglets [INFO] finished tweaking git repo https://github.com/nstone8/buglets [INFO] tweaked toml for git repo https://github.com/nstone8/buglets written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nstone8/buglets 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gobject-sys v0.4.0 [INFO] [stderr] Downloaded pango-sys v0.4.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.4.0 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded cairo-rs v0.2.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.4.0 [INFO] [stderr] Downloaded c_vec v1.2.1 [INFO] [stderr] Downloaded gdk-pixbuf v0.2.0 [INFO] [stderr] Downloaded atk-sys v0.4.0 [INFO] [stderr] Downloaded gdk-sys v0.4.0 [INFO] [stderr] Downloaded gio v0.2.0 [INFO] [stderr] Downloaded gdk v0.6.0 [INFO] [stderr] Downloaded gtk v0.2.0 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded gtk-sys v0.4.0 [INFO] [stderr] Downloaded gio-sys v0.4.0 [INFO] [stderr] Downloaded glib-sys v0.4.0 [INFO] [stderr] Downloaded pango v0.2.0 [INFO] [stderr] Downloaded glib v0.3.1 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aafe7d975f342f04c2ee48e63f9dec049560ecea78c0ef387e1ca601831c4dc [INFO] running `Command { std: "docker" "start" "-a" "6aafe7d975f342f04c2ee48e63f9dec049560ecea78c0ef387e1ca601831c4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aafe7d975f342f04c2ee48e63f9dec049560ecea78c0ef387e1ca601831c4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aafe7d975f342f04c2ee48e63f9dec049560ecea78c0ef387e1ca601831c4dc", kill_on_drop: false }` [INFO] [stdout] 6aafe7d975f342f04c2ee48e63f9dec049560ecea78c0ef387e1ca601831c4dc [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4069e7880b38301b402a517da68f6e7c5654355b543c92a042a19e0f8e4f9158 [INFO] running `Command { std: "docker" "start" "-a" "4069e7880b38301b402a517da68f6e7c5654355b543c92a042a19e0f8e4f9158", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Compiling cairo-rs v0.2.0 [INFO] [stderr] Compiling gdk-pixbuf v0.2.0 [INFO] [stderr] Compiling gio v0.2.0 [INFO] [stderr] Compiling gdk v0.6.0 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling gtk v0.2.0 [INFO] [stderr] Compiling glib-sys v0.4.0 [INFO] [stderr] Compiling gobject-sys v0.4.0 [INFO] [stderr] Compiling gio-sys v0.4.0 [INFO] [stderr] Compiling cairo-sys-rs v0.4.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.4.0 [INFO] [stderr] Compiling pango-sys v0.4.0 [INFO] [stderr] Compiling gdk-sys v0.4.0 [INFO] [stderr] Compiling atk-sys v0.4.0 [INFO] [stderr] Compiling gtk-sys v0.4.0 [INFO] [stderr] Checking glib v0.3.1 [INFO] [stderr] Checking pango v0.2.0 [INFO] [stderr] Checking buglets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0616]: field `x` of struct `hex_objects::Offset` is private [INFO] [stdout] --> src/stacks.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | self.temp_offset.x=x; [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `y` of struct `hex_objects::Offset` is private [INFO] [stdout] --> src/stacks.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | self.temp_offset.y=y; [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `x` of struct `hex_objects::Offset` is private [INFO] [stdout] --> src/stacks.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | self.temp_offset.x=x; [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `y` of struct `hex_objects::Offset` is private [INFO] [stdout] --> src/stacks.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | self.temp_offset.y=y; [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stacks.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | self.temp_offset=Offset{x:0,y:0}; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stacks.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | self.temp_offset=Offset{x:0,y:0}; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stacks.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | self.temp_offset=Offset{x:0,y:0}; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stacks.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | self.temp_offset=Offset{x:0,y:0}; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.global_offset` which is behind a shared reference [INFO] [stdout] --> src/stacks.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.global_offset` has type `hex_objects::Offset`, which does not implement the `Copy` trait [INFO] [stdout] | `self.global_offset` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:92:12 [INFO] [stdout] note: if `hex_objects::Offset` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/hex_objects.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Offset{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/stacks.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | ------------------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.global_offset` which is behind a shared reference [INFO] [stdout] --> src/stacks.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.global_offset` has type `hex_objects::Offset`, which does not implement the `Copy` trait [INFO] [stdout] | `self.global_offset` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:92:12 [INFO] [stdout] note: if `hex_objects::Offset` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/hex_objects.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Offset{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/stacks.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | ------------------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.global_offset` which is behind a shared reference [INFO] [stdout] --> src/stacks.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because `self.global_offset` has type `hex_objects::Offset`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `hex_objects::Offset` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/hex_objects.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Offset{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/stacks.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | ------------------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.global_offset` which is behind a shared reference [INFO] [stdout] --> src/stacks.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because `self.global_offset` has type `hex_objects::Offset`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `hex_objects::Offset` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/hex_objects.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Offset{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/stacks.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | piece.draw_fn(&(self.global_offset+self.global_offset),cr); [INFO] [stdout] | ------------------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `stack`, which is owned by the current function [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | drag.connect_drag_update(|_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ may outlive borrowed value `stack` [INFO] [stdout] 44 | println!("x={}, y={}",x,y); [INFO] [stdout] 45 | stack.set_temp_offset(x,y); [INFO] [stdout] | ----- `stack` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: function requires argument type to outlive `'static` [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / drag.connect_drag_update(|_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] 44 | | println!("x={}, y={}",x,y); [INFO] [stdout] 45 | | stack.set_temp_offset(x,y); [INFO] [stdout] 46 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] help: to force the closure to take ownership of `stack` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 43 | drag.connect_drag_update(move |_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `stack`, which is owned by the current function [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | drag.connect_drag_update(|_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ may outlive borrowed value `stack` [INFO] [stdout] 44 | println!("x={}, y={}",x,y); [INFO] [stdout] 45 | stack.set_temp_offset(x,y); [INFO] [stdout] | ----- `stack` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: function requires argument type to outlive `'static` [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / drag.connect_drag_update(|_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] 44 | | println!("x={}, y={}",x,y); [INFO] [stdout] 45 | | stack.set_temp_offset(x,y); [INFO] [stdout] 46 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] help: to force the closure to take ownership of `stack` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 43 | drag.connect_drag_update(move |_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `stack` [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 26 | let mut stack=Stack::new(); [INFO] [stdout] | --------- move occurs because `stack` has type `stacks::Stack`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 36 | drawing_area.connect_draw(move |_:&DrawingArea,cr:&Context|{ [INFO] [stdout] | --------------------------------- value moved into closure here [INFO] [stdout] 37 | let scale = stack.get_draw_scale(); [INFO] [stdout] | ----- variable moved due to use in closure [INFO] [stdout] ... [INFO] [stdout] 43 | drag.connect_drag_update(|_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] 44 | println!("x={}, y={}",x,y); [INFO] [stdout] 45 | stack.set_temp_offset(x,y); [INFO] [stdout] | ----- borrow occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `stack` [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 26 | let mut stack=Stack::new(); [INFO] [stdout] | --------- move occurs because `stack` has type `stacks::Stack`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 36 | drawing_area.connect_draw(move |_:&DrawingArea,cr:&Context|{ [INFO] [stdout] | --------------------------------- value moved into closure here [INFO] [stdout] 37 | let scale = stack.get_draw_scale(); [INFO] [stdout] | ----- variable moved due to use in closure [INFO] [stdout] ... [INFO] [stdout] 43 | drag.connect_drag_update(|_:&GestureDrag,x:f64,y:f64|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] 44 | println!("x={}, y={}",x,y); [INFO] [stdout] 45 | stack.set_temp_offset(x,y); [INFO] [stdout] | ----- borrow occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0373, E0382, E0507, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0373, E0382, E0507, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buglets` (bin "buglets") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `buglets` (bin "buglets" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "4069e7880b38301b402a517da68f6e7c5654355b543c92a042a19e0f8e4f9158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4069e7880b38301b402a517da68f6e7c5654355b543c92a042a19e0f8e4f9158", kill_on_drop: false }` [INFO] [stdout] 4069e7880b38301b402a517da68f6e7c5654355b543c92a042a19e0f8e4f9158