Nov 17 13:46:44.132 INFO testing MaXiaoye/CAS706_assignment1_Rust against try#2e026d6e5d7621634147ad4c8074f1d964dbb1be for pr-55982 Nov 17 13:46:44.134 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55982/worker-7/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-7/pr-55982/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +2e026d6e5d7621634147ad4c8074f1d964dbb1be-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Nov 17 13:46:44.703 INFO [stdout] 78856a93fcb2a7841c52593f09e7ef98e934dc4c5010c089ff0553be07d2cee8 Nov 17 13:46:44.707 INFO running `"docker" "start" "-a" "78856a93fcb2a7841c52593f09e7ef98e934dc4c5010c089ff0553be07d2cee8"` Nov 17 13:46:46.207 INFO [stderr] usermod: no changes Nov 17 13:46:46.260 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Nov 17 13:46:46.260 INFO [stderr] disables Cargo from automatically inferring other binary targets. Nov 17 13:46:46.260 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Nov 17 13:46:46.260 INFO [stderr] files will be included as a binary target: Nov 17 13:46:46.260 INFO [stderr] Nov 17 13:46:46.260 INFO [stderr] * /source/src/main.rs Nov 17 13:46:46.260 INFO [stderr] Nov 17 13:46:46.260 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Nov 17 13:46:46.260 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Nov 17 13:46:46.260 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Nov 17 13:46:46.260 INFO [stderr] section. You may also move the files to a location where Cargo would not Nov 17 13:46:46.260 INFO [stderr] automatically infer them to be a target, such as in subfolders. Nov 17 13:46:46.260 INFO [stderr] Nov 17 13:46:46.260 INFO [stderr] For more information on this warning you can consult Nov 17 13:46:46.260 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Nov 17 13:46:46.260 INFO [stderr] warning: path `/source/src/main.rs` was erroneously implicitly accepted for binary `hello_world`, Nov 17 13:46:46.260 INFO [stderr] please set bin.path in Cargo.toml Nov 17 13:46:46.275 INFO [stderr] Compiling quick_sort v0.0.1 (/source) Nov 17 13:46:46.741 INFO [stderr] warning: unused variable: `list_size` Nov 17 13:46:46.741 INFO [stderr] --> src/main.rs:46:9 Nov 17 13:46:46.741 INFO [stderr] | Nov 17 13:46:46.741 INFO [stderr] 46 | let list_size = a.len() - 1; Nov 17 13:46:46.741 INFO [stderr] | ^^^^^^^^^ help: consider using `_list_size` instead Nov 17 13:46:46.741 INFO [stderr] | Nov 17 13:46:46.741 INFO [stderr] = note: #[warn(unused_variables)] on by default Nov 17 13:46:46.741 INFO [stderr] Nov 17 13:46:46.741 INFO [stderr] warning: variable does not need to be mutable Nov 17 13:46:46.741 INFO [stderr] --> src/main.rs:4:6 Nov 17 13:46:46.741 INFO [stderr] | Nov 17 13:46:46.742 INFO [stderr] 4 | let mut list = list; Nov 17 13:46:46.742 INFO [stderr] | ----^^^^ Nov 17 13:46:46.742 INFO [stderr] | | Nov 17 13:46:46.742 INFO [stderr] | help: remove this `mut` Nov 17 13:46:46.742 INFO [stderr] | Nov 17 13:46:46.742 INFO [stderr] = note: #[warn(unused_mut)] on by default Nov 17 13:46:46.742 INFO [stderr] Nov 17 13:46:47.127 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.89s Nov 17 13:46:47.127 INFO [stderr] su: No module specific data is present Nov 17 13:46:47.957 INFO running `"docker" "inspect" "78856a93fcb2a7841c52593f09e7ef98e934dc4c5010c089ff0553be07d2cee8"` Nov 17 13:46:48.149 INFO running `"docker" "rm" "-f" "78856a93fcb2a7841c52593f09e7ef98e934dc4c5010c089ff0553be07d2cee8"` Nov 17 13:46:48.655 INFO [stdout] 78856a93fcb2a7841c52593f09e7ef98e934dc4c5010c089ff0553be07d2cee8 Nov 17 13:46:48.662 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55982/worker-7/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-7/pr-55982/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +2e026d6e5d7621634147ad4c8074f1d964dbb1be-alt test --frozen --no-run" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Nov 17 13:46:48.959 INFO [stdout] 75edd316828a9dba372583467f05796abd059b2273264f5451c6555d8dc0d4e4 Nov 17 13:46:48.963 INFO running `"docker" "start" "-a" "75edd316828a9dba372583467f05796abd059b2273264f5451c6555d8dc0d4e4"` Nov 17 13:46:50.640 INFO [stderr] usermod: no changes Nov 17 13:46:50.687 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Nov 17 13:46:50.688 INFO [stderr] disables Cargo from automatically inferring other binary targets. Nov 17 13:46:50.688 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Nov 17 13:46:50.688 INFO [stderr] files will be included as a binary target: Nov 17 13:46:50.689 INFO [stderr] Nov 17 13:46:50.689 INFO [stderr] * /source/src/main.rs Nov 17 13:46:50.690 INFO [stderr] Nov 17 13:46:50.690 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Nov 17 13:46:50.690 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Nov 17 13:46:50.691 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Nov 17 13:46:50.691 INFO [stderr] section. You may also move the files to a location where Cargo would not Nov 17 13:46:50.691 INFO [stderr] automatically infer them to be a target, such as in subfolders. Nov 17 13:46:50.692 INFO [stderr] Nov 17 13:46:50.692 INFO [stderr] For more information on this warning you can consult Nov 17 13:46:50.692 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Nov 17 13:46:50.693 INFO [stderr] warning: path `/source/src/main.rs` was erroneously implicitly accepted for binary `hello_world`, Nov 17 13:46:50.693 INFO [stderr] please set bin.path in Cargo.toml Nov 17 13:46:50.703 INFO [stderr] Compiling quick_sort v0.0.1 (/source) Nov 17 13:46:51.155 INFO [stderr] warning: unused variable: `list_size` Nov 17 13:46:51.155 INFO [stderr] --> src/main.rs:46:9 Nov 17 13:46:51.155 INFO [stderr] | Nov 17 13:46:51.155 INFO [stderr] 46 | let list_size = a.len() - 1; Nov 17 13:46:51.155 INFO [stderr] | ^^^^^^^^^ help: consider using `_list_size` instead Nov 17 13:46:51.155 INFO [stderr] | Nov 17 13:46:51.155 INFO [stderr] = note: #[warn(unused_variables)] on by default Nov 17 13:46:51.155 INFO [stderr] Nov 17 13:46:51.163 INFO [stderr] warning: variable does not need to be mutable Nov 17 13:46:51.163 INFO [stderr] --> src/main.rs:4:6 Nov 17 13:46:51.164 INFO [stderr] | Nov 17 13:46:51.164 INFO [stderr] 4 | let mut list = list; Nov 17 13:46:51.164 INFO [stderr] | ----^^^^ Nov 17 13:46:51.164 INFO [stderr] | | Nov 17 13:46:51.164 INFO [stderr] | help: remove this `mut` Nov 17 13:46:51.165 INFO [stderr] | Nov 17 13:46:51.165 INFO [stderr] = note: #[warn(unused_mut)] on by default Nov 17 13:46:51.165 INFO [stderr] Nov 17 13:46:51.589 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.92s Nov 17 13:46:51.607 INFO [stderr] su: No module specific data is present Nov 17 13:46:52.349 INFO running `"docker" "inspect" "75edd316828a9dba372583467f05796abd059b2273264f5451c6555d8dc0d4e4"` Nov 17 13:46:52.625 INFO running `"docker" "rm" "-f" "75edd316828a9dba372583467f05796abd059b2273264f5451c6555d8dc0d4e4"` Nov 17 13:46:52.990 INFO [stdout] 75edd316828a9dba372583467f05796abd059b2273264f5451c6555d8dc0d4e4 Nov 17 13:46:52.993 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55982/worker-7/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-7/pr-55982/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +2e026d6e5d7621634147ad4c8074f1d964dbb1be-alt test --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Nov 17 13:46:53.432 INFO [stdout] 5d9e68df131a8fa272eed8e0b255be21eef603ed2c5bca584be749936c037aa0 Nov 17 13:46:53.434 INFO running `"docker" "start" "-a" "5d9e68df131a8fa272eed8e0b255be21eef603ed2c5bca584be749936c037aa0"` Nov 17 13:46:54.644 INFO [stderr] usermod: no changes Nov 17 13:46:54.711 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Nov 17 13:46:54.711 INFO [stderr] disables Cargo from automatically inferring other binary targets. Nov 17 13:46:54.711 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Nov 17 13:46:54.711 INFO [stderr] files will be included as a binary target: Nov 17 13:46:54.711 INFO [stderr] Nov 17 13:46:54.711 INFO [stderr] * /source/src/main.rs Nov 17 13:46:54.711 INFO [stderr] Nov 17 13:46:54.711 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Nov 17 13:46:54.711 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Nov 17 13:46:54.711 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Nov 17 13:46:54.711 INFO [stderr] section. You may also move the files to a location where Cargo would not Nov 17 13:46:54.711 INFO [stderr] automatically infer them to be a target, such as in subfolders. Nov 17 13:46:54.711 INFO [stderr] Nov 17 13:46:54.711 INFO [stderr] For more information on this warning you can consult Nov 17 13:46:54.711 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Nov 17 13:46:54.711 INFO [stderr] warning: path `/source/src/main.rs` was erroneously implicitly accepted for binary `hello_world`, Nov 17 13:46:54.711 INFO [stderr] please set bin.path in Cargo.toml Nov 17 13:46:54.711 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s Nov 17 13:46:54.715 INFO [stderr] Running /target/debug/deps/hello_world-a9e72517756ff811 Nov 17 13:46:54.720 INFO [stdout] Nov 17 13:46:54.720 INFO [stdout] running 0 tests Nov 17 13:46:54.720 INFO [stdout] Nov 17 13:46:54.720 INFO [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Nov 17 13:46:54.720 INFO [stdout] Nov 17 13:46:54.722 INFO [stderr] su: No module specific data is present Nov 17 13:46:55.679 INFO running `"docker" "inspect" "5d9e68df131a8fa272eed8e0b255be21eef603ed2c5bca584be749936c037aa0"` Nov 17 13:46:55.997 INFO running `"docker" "rm" "-f" "5d9e68df131a8fa272eed8e0b255be21eef603ed2c5bca584be749936c037aa0"` Nov 17 13:46:56.271 INFO [stdout] 5d9e68df131a8fa272eed8e0b255be21eef603ed2c5bca584be749936c037aa0