[INFO] updating cached repository za-rudeboy/rust_excercise [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/za-rudeboy/rust_excercise [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/za-rudeboy/rust_excercise" "work/ex/beta-1.38-1/sources/1.37.0/gh/za-rudeboy/rust_excercise"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/za-rudeboy/rust_excercise'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/za-rudeboy/rust_excercise" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/za-rudeboy/rust_excercise"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/za-rudeboy/rust_excercise'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0e5aa891424f9ede181c4d2a0ddc7ac5b384c501 [INFO] sha for GitHub repo za-rudeboy/rust_excercise: 0e5aa891424f9ede181c4d2a0ddc7ac5b384c501 [INFO] validating manifest of za-rudeboy/rust_excercise 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 za-rudeboy/rust_excercise 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 za-rudeboy/rust_excercise [INFO] finished frobbing za-rudeboy/rust_excercise [INFO] frobbed toml for za-rudeboy/rust_excercise written to work/ex/beta-1.38-1/sources/1.37.0/gh/za-rudeboy/rust_excercise/Cargo.toml [INFO] started frobbing za-rudeboy/rust_excercise [INFO] finished frobbing za-rudeboy/rust_excercise [INFO] frobbed toml for za-rudeboy/rust_excercise written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/za-rudeboy/rust_excercise/Cargo.toml [INFO] crate za-rudeboy/rust_excercise 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 za-rudeboy/rust_excercise against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/za-rudeboy/rust_excercise:/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 9f935b0d05daedcf9c712ff6e817921b16bd138e5007f4094733999fc8ccb2c8 [INFO] running `"docker" "start" "-a" "9f935b0d05daedcf9c712ff6e817921b16bd138e5007f4094733999fc8ccb2c8"` [INFO] [stderr] Compiling exercise v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `second` [INFO] [stderr] --> src/main.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | fn simple_calculator(first: String, second: String) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_second` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `count_characters` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | fn count_characters(s: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `print_quotes` [INFO] [stderr] --> src/main.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | fn print_quotes(quote: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `madlib` [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | fn madlib(noun: String, verb: String, adjective: String, adverb: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `simple_calculator` [INFO] [stderr] --> src/main.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | fn simple_calculator(first: String, second: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `"docker" "inspect" "9f935b0d05daedcf9c712ff6e817921b16bd138e5007f4094733999fc8ccb2c8"` [INFO] running `"docker" "rm" "-f" "9f935b0d05daedcf9c712ff6e817921b16bd138e5007f4094733999fc8ccb2c8"` [INFO] [stdout] 9f935b0d05daedcf9c712ff6e817921b16bd138e5007f4094733999fc8ccb2c8 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/za-rudeboy/rust_excercise:/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 5d65bef41d3f365e7fde2e59ab8430468ccd14c65bc46105b91f3e327612a808 [INFO] running `"docker" "start" "-a" "5d65bef41d3f365e7fde2e59ab8430468ccd14c65bc46105b91f3e327612a808"` [INFO] [stderr] Compiling exercise v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `second` [INFO] [stderr] --> src/main.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | fn simple_calculator(first: String, second: String) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_second` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `"docker" "inspect" "5d65bef41d3f365e7fde2e59ab8430468ccd14c65bc46105b91f3e327612a808"` [INFO] running `"docker" "rm" "-f" "5d65bef41d3f365e7fde2e59ab8430468ccd14c65bc46105b91f3e327612a808"` [INFO] [stdout] 5d65bef41d3f365e7fde2e59ab8430468ccd14c65bc46105b91f3e327612a808 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/za-rudeboy/rust_excercise:/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 7226a78daa04d8fec0ab4cabc4d9fe0b30d374c5cfd9d4f626de1782f4227b27 [INFO] running `"docker" "start" "-a" "7226a78daa04d8fec0ab4cabc4d9fe0b30d374c5cfd9d4f626de1782f4227b27"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/crater/target/debug/deps/exercise-c7b2b9d099c5bccf [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::should_calculate_numbers ... ok [INFO] [stdout] test tests::should_count_characters ... ok [INFO] [stdout] test tests::should_print_quote ... ok [INFO] [stdout] test tests::should_madlib ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "7226a78daa04d8fec0ab4cabc4d9fe0b30d374c5cfd9d4f626de1782f4227b27"` [INFO] running `"docker" "rm" "-f" "7226a78daa04d8fec0ab4cabc4d9fe0b30d374c5cfd9d4f626de1782f4227b27"` [INFO] [stdout] 7226a78daa04d8fec0ab4cabc4d9fe0b30d374c5cfd9d4f626de1782f4227b27