[INFO] updating cached repository marionebl/rust-by-example-exercises [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/marionebl/rust-by-example-exercises [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/marionebl/rust-by-example-exercises" "work/ex/beta-1.38-1/sources/1.37.0/gh/marionebl/rust-by-example-exercises"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/marionebl/rust-by-example-exercises'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/marionebl/rust-by-example-exercises" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/marionebl/rust-by-example-exercises"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/marionebl/rust-by-example-exercises'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b22ea9a4d0448f54fdbc20b0d014f13f44ae816e [INFO] sha for GitHub repo marionebl/rust-by-example-exercises: b22ea9a4d0448f54fdbc20b0d014f13f44ae816e [INFO] validating manifest of marionebl/rust-by-example-exercises on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of marionebl/rust-by-example-exercises on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing marionebl/rust-by-example-exercises [INFO] finished frobbing marionebl/rust-by-example-exercises [INFO] frobbed toml for marionebl/rust-by-example-exercises written to work/ex/beta-1.38-1/sources/1.37.0/gh/marionebl/rust-by-example-exercises/Cargo.toml [INFO] started frobbing marionebl/rust-by-example-exercises [INFO] finished frobbing marionebl/rust-by-example-exercises [INFO] frobbed toml for marionebl/rust-by-example-exercises written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/marionebl/rust-by-example-exercises/Cargo.toml [INFO] crate marionebl/rust-by-example-exercises already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing marionebl/rust-by-example-exercises against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/marionebl/rust-by-example-exercises:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] a9704826b764fea0904d23698418c6794c796c539b7a48b06f707205ad84695e [INFO] running `"docker" "start" "-a" "a9704826b764fea0904d23698418c6794c796c539b7a48b06f707205ad84695e"` [INFO] [stderr] Compiling rust-by-example-exercises v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/bin/7-expressions.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | 2 * x; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stderr] --> src/bin/3-2-1-enums.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #![allow(unused_doc_comment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/bin/3-2-1-enums.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | /// "my_text".to_owned() ~= String::from("my_text"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 41 | let pasted = WebEvent::Paste("my text".to_owned()); [INFO] [stderr] | --------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/9-2-5-closures-as-output.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | fn create_fn() -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/9-2-5-closures-as-output.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | fn create_fnmut() -> Box { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/bin/8-2-loop.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | println!("This point will never be reached"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/bin/9-2-2-closures-as-input-params.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/9-2-2-closures-as-input-params.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let mut farewell = String::from("goodbye"); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/9-2-2-closures-as-input-params.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | fn apply(mut f: F) where F: FnOnce() { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] error: expected item, found `36` [INFO] [stderr] --> src/bin/13-5-2-generic-bounds-multiple.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | 36 [INFO] [stderr] | ^^ expected item [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rust-by-example-exercises`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: function is never used: `noisy_unused_function` [INFO] [stderr] --> src/bin/12-1-attributes-dead-code.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | fn noisy_unused_function() {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a9704826b764fea0904d23698418c6794c796c539b7a48b06f707205ad84695e"` [INFO] running `"docker" "rm" "-f" "a9704826b764fea0904d23698418c6794c796c539b7a48b06f707205ad84695e"` [INFO] [stdout] a9704826b764fea0904d23698418c6794c796c539b7a48b06f707205ad84695e