[INFO] cloning repository https://github.com/MaXiaoye/CAS706_assignment1_Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaXiaoye/CAS706_assignment1_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaXiaoye%2FCAS706_assignment1_Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaXiaoye%2FCAS706_assignment1_Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ab974695185f2ee7d38cdad029de89a1710d910
[INFO] checking MaXiaoye/CAS706_assignment1_Rust against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaXiaoye%2FCAS706_assignment1_Rust" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MaXiaoye/CAS706_assignment1_Rust on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MaXiaoye/CAS706_assignment1_Rust
[INFO] finished tweaking git repo https://github.com/MaXiaoye/CAS706_assignment1_Rust
[INFO] tweaked toml for git repo https://github.com/MaXiaoye/CAS706_assignment1_Rust written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/MaXiaoye/CAS706_assignment1_Rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /workspace/builds/worker-0/source/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: path `/workspace/builds/worker-0/source/src/main.rs` was erroneously implicitly accepted for binary `hello_world`,
[INFO] [stderr] please set bin.path in Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9a626f959153f3561c115c344dc653d81af36df9e9bc62417a99e92197edc271
[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" "9a626f959153f3561c115c344dc653d81af36df9e9bc62417a99e92197edc271", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a626f959153f3561c115c344dc653d81af36df9e9bc62417a99e92197edc271", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a626f959153f3561c115c344dc653d81af36df9e9bc62417a99e92197edc271", kill_on_drop: false }`
[INFO] [stdout] 9a626f959153f3561c115c344dc653d81af36df9e9bc62417a99e92197edc271
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7afda7c3b43cf46840136269fdc331788757f813c9f515b9b0f87ef14b3fc0aa
[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" "7afda7c3b43cf46840136269fdc331788757f813c9f515b9b0f87ef14b3fc0aa", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /opt/rustwide/workdir/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `hello_world`,
[INFO] [stderr] please set bin.path in Cargo.toml
[INFO] [stderr]     Checking quick_sort v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut list = list;
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut list = list;
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut pivot = list.len() - 1;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut pivot = list.len() - 1;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partitionOne` should have a snake case name
[INFO] [stdout]  --> src/main.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn partitionOne(list: &mut [i32], left: isize, right: isize) -> isize {
[INFO] [stdout]   |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `partition_one`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partitionTwo` should have a snake case name
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn partitionTwo<T,F>(list: &mut [T], comparision: &F) -> usize
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `partition_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partitionThree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn partitionThree<T,F>(list: &mut [T], comparision: &F) -> usize 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `partition_three`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sortOne` should have a snake case name
[INFO] [stdout]   --> src/main.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn quick_sortOne(list: &mut [i32], left: isize, right: isize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `quick_sort_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sortTwo` should have a snake case name
[INFO] [stdout]   --> src/main.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn quick_sortTwo<T,F>(list: &mut [T], comparision: &F) 
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `quick_sort_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sortThree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn quick_sortThree<T,F,P>(list: &mut [T], comparision: &F, partition: &P) 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quick_sort_three`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partitionOne` should have a snake case name
[INFO] [stdout]  --> src/main.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn partitionOne(list: &mut [i32], left: isize, right: isize) -> isize {
[INFO] [stdout]   |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `partition_one`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partitionTwo` should have a snake case name
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn partitionTwo<T,F>(list: &mut [T], comparision: &F) -> usize
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `partition_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partitionThree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn partitionThree<T,F>(list: &mut [T], comparision: &F) -> usize 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `partition_three`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sortOne` should have a snake case name
[INFO] [stdout]   --> src/main.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn quick_sortOne(list: &mut [i32], left: isize, right: isize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `quick_sort_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sortTwo` should have a snake case name
[INFO] [stdout]   --> src/main.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn quick_sortTwo<T,F>(list: &mut [T], comparision: &F) 
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `quick_sort_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sortThree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn quick_sortThree<T,F,P>(list: &mut [T], comparision: &F, partition: &P) 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quick_sort_three`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.34s
[INFO] running `Command { std: "docker" "inspect" "7afda7c3b43cf46840136269fdc331788757f813c9f515b9b0f87ef14b3fc0aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7afda7c3b43cf46840136269fdc331788757f813c9f515b9b0f87ef14b3fc0aa", kill_on_drop: false }`
[INFO] [stdout] 7afda7c3b43cf46840136269fdc331788757f813c9f515b9b0f87ef14b3fc0aa
