[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 beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhangsiaongithub%2Fcasio" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hangsiaongithub/casio on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 52f41d54ee47154dc5a92a960d9c96fd82e2e3e7917b68326122e6e65837e904
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "52f41d54ee47154dc5a92a960d9c96fd82e2e3e7917b68326122e6e65837e904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "52f41d54ee47154dc5a92a960d9c96fd82e2e3e7917b68326122e6e65837e904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52f41d54ee47154dc5a92a960d9c96fd82e2e3e7917b68326122e6e65837e904", kill_on_drop: false }`
[INFO] [stdout] 52f41d54ee47154dc5a92a960d9c96fd82e2e3e7917b68326122e6e65837e904
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd486d69fd5d271784ad6ca75c956dc13118f90a2bbb2acff42bf1124432d11a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cd486d69fd5d271784ad6ca75c956dc13118f90a2bbb2acff42bf1124432d11a", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling futures-sink v0.3.6
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling wayland-sys v0.27.0
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling hibitset v0.6.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling xcb v0.9.0
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling relevant v0.4.2
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling wayland-scanner v0.27.0
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling gfx-hal v0.4.1
[INFO] [stderr]    Compiling ash v0.29.0
[INFO] [stderr]    Compiling servo-freetype-sys v4.0.5
[INFO] [stderr]    Compiling servo-fontconfig-sys v4.0.9
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling freetype v0.4.1
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling twox-hash v1.6.0
[INFO] [stderr]    Compiling servo-fontconfig v0.4.0
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling glyph_brush_layout v0.1.9
[INFO] [stderr]    Compiling font-kit v0.4.0
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling glyph_brush v0.6.3
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling wayland-client v0.27.0
[INFO] [stderr]    Compiling wayland-protocols v0.27.0
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]    Compiling rendy-descriptor v0.5.1
[INFO] [stderr]    Compiling rendy-memory v0.5.2
[INFO] [stderr]    Compiling gfx-backend-empty v0.4.0
[INFO] [stderr]    Compiling wayland-commons v0.27.0
[INFO] [stderr]    Compiling wayland-cursor v0.27.0
[INFO] [stderr]    Compiling clipboard_x11 v0.1.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.6
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling futures-macro v0.3.6
[INFO] [stderr]    Compiling winit v0.22.2
[INFO] [stderr]    Compiling gfx-backend-vulkan v0.4.3
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling smithay-client-toolkit v0.11.0
[INFO] [stderr]    Compiling wgpu-native v0.4.3
[INFO] [stderr]    Compiling smithay-clipboard v0.5.2
[INFO] [stderr]    Compiling clipboard_wayland v0.1.1
[INFO] [stderr]    Compiling window_clipboard v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling iced_futures v0.1.2
[INFO] [stderr]    Compiling iced_native v0.2.2
[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"
[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 by `into_iter`
[INFO] [stdout] help: consider restricting type parameter `T`
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn addition<T: Iterator>(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<T>(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" "cd486d69fd5d271784ad6ca75c956dc13118f90a2bbb2acff42bf1124432d11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd486d69fd5d271784ad6ca75c956dc13118f90a2bbb2acff42bf1124432d11a", kill_on_drop: false }`
[INFO] [stdout] cd486d69fd5d271784ad6ca75c956dc13118f90a2bbb2acff42bf1124432d11a
