[INFO] cloning repository https://github.com/hangsiaongithub/casio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hangsiaongithub/casio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhangsiaongithub%2Fcasio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhangsiaongithub%2Fcasio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 207bd0184eb51378a0eaab002df250c7f596039b [INFO] testing hangsiaongithub/casio against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhangsiaongithub%2Fcasio" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hangsiaongithub/casio on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hangsiaongithub/casio [INFO] finished tweaking git repo https://github.com/hangsiaongithub/casio [INFO] tweaked toml for git repo https://github.com/hangsiaongithub/casio written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/hangsiaongithub/casio already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard_wayland v0.1.2 [INFO] [stderr] Downloaded clipboard_x11 v0.2.0 [INFO] [stderr] Downloaded window_clipboard v0.1.4 [INFO] [stderr] Downloaded smithay-clipboard v0.6.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2b476889424c13d248e499c8c991a212193f343af7cec1b9152c9564fb2bdf3 [INFO] running `Command { std: "docker" "start" "-a" "c2b476889424c13d248e499c8c991a212193f343af7cec1b9152c9564fb2bdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2b476889424c13d248e499c8c991a212193f343af7cec1b9152c9564fb2bdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b476889424c13d248e499c8c991a212193f343af7cec1b9152c9564fb2bdf3", kill_on_drop: false }` [INFO] [stdout] c2b476889424c13d248e499c8c991a212193f343af7cec1b9152c9564fb2bdf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 105daa079c9a1f8dff6c3f8ab38e118d490e2c58ad075356324bb37a04876446 [INFO] running `Command { std: "docker" "start" "-a" "105daa079c9a1f8dff6c3f8ab38e118d490e2c58ad075356324bb37a04876446", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling iced_core v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling svg_fmt v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling relevant v0.4.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling iced_style v0.1.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling zerocopy v0.2.8 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memmap2 v0.2.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gfx-hal v0.4.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling guillotiere v0.4.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling font-kit v0.4.0 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling rendy-memory v0.5.2 [INFO] [stderr] Compiling rendy-descriptor v0.5.1 [INFO] [stderr] Compiling gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling x11rb v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling gfx-backend-vulkan v0.4.3 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling iced_futures v0.1.2 [INFO] [stderr] Compiling iced_native v0.2.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling clipboard_x11 v0.2.0 [INFO] [stderr] Compiling wgpu-native v0.4.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.14.0 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling smithay-clipboard v0.6.4 [INFO] [stderr] Compiling clipboard_wayland v0.1.2 [INFO] [stderr] Compiling window_clipboard v0.1.4 [INFO] [stderr] Compiling iced_winit v0.1.0 [INFO] [stderr] Compiling wgpu v0.4.0 [INFO] [stderr] Compiling wgpu_glyph v0.7.0 [INFO] [stderr] Compiling iced_wgpu v0.2.3 [INFO] [stderr] Compiling iced v0.1.1 [INFO] [stderr] Compiling casio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `subtraction` [INFO] [stdout] --> src/operations/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod subtraction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `subtraction`, create file "src/operations/subtraction.rs" or "src/operations/subtraction/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `division` should have an upper camel case name [INFO] [stdout] --> src/operations/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | division, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Division` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `multiplication` should have an upper camel case name [INFO] [stdout] --> src/operations/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | multiplication, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Multiplication` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `subtraction` should have an upper camel case name [INFO] [stdout] --> src/operations/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | subtraction, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Subtraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operations::Operation` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use operations::Operation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` is not an iterator [INFO] [stdout] --> src/operations/addition.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | for i in values { [INFO] [stdout] | ^^^^^^ `T` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `T` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 1 | fn addition(values: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/operations/addition.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | fn addition(values: T) -> T { [INFO] [stdout] | - - expected `T` because of return type [INFO] [stdout] | | [INFO] [stdout] | this type parameter [INFO] [stdout] ... [INFO] [stdout] 4 | / for i in values { [INFO] [stdout] 5 | | sum = sum + i; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ expected type parameter `T`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `casio` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "105daa079c9a1f8dff6c3f8ab38e118d490e2c58ad075356324bb37a04876446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105daa079c9a1f8dff6c3f8ab38e118d490e2c58ad075356324bb37a04876446", kill_on_drop: false }` [INFO] [stdout] 105daa079c9a1f8dff6c3f8ab38e118d490e2c58ad075356324bb37a04876446