[INFO] cloning repository https://github.com/wyze/rust-book-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wyze/rust-book-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyze%2Frust-book-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyze%2Frust-book-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5abad1d2d1657c3762013d72f8c183dfe860076 [INFO] testing wyze/rust-book-examples against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyze%2Frust-book-examples" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wyze/rust-book-examples [INFO] finished tweaking git repo https://github.com/wyze/rust-book-examples [INFO] tweaked toml for git repo https://github.com/wyze/rust-book-examples written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wyze/rust-book-examples on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wyze/rust-book-examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.1.9 [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 022ce532274e31ba15c3199c7cd49b67cb5c25de83f7f1f8944282d299e158c6 [INFO] running `Command { std: "docker" "start" "-a" "022ce532274e31ba15c3199c7cd49b67cb5c25de83f7f1f8944282d299e158c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "022ce532274e31ba15c3199c7cd49b67cb5c25de83f7f1f8944282d299e158c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022ce532274e31ba15c3199c7cd49b67cb5c25de83f7f1f8944282d299e158c6", kill_on_drop: false }` [INFO] [stdout] 022ce532274e31ba15c3199c7cd49b67cb5c25de83f7f1f8944282d299e158c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 08e7679c75fe7d25f8992ff73246cb543a749a9fbd7f39be566a9ce03c55be9a [INFO] running `Command { std: "docker" "start" "-a" "08e7679c75fe7d25f8992ff73246cb543a749a9fbd7f39be566a9ce03c55be9a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro_derive) [INFO] [stderr] Compiling rust-book-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ch15_05_interior_mutability/mod.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ch19_01_unsafe_rust/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | println!("COUNTER: {}", COUNTER); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "08e7679c75fe7d25f8992ff73246cb543a749a9fbd7f39be566a9ce03c55be9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e7679c75fe7d25f8992ff73246cb543a749a9fbd7f39be566a9ce03c55be9a", kill_on_drop: false }` [INFO] [stdout] 08e7679c75fe7d25f8992ff73246cb543a749a9fbd7f39be566a9ce03c55be9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] aeca1000d26e2378b951bb4f96b003636b971f8f96e98b6a8016a5bf46cb0fe5 [INFO] running `Command { std: "docker" "start" "-a" "aeca1000d26e2378b951bb4f96b003636b971f8f96e98b6a8016a5bf46cb0fe5", kill_on_drop: false }` [INFO] [stderr] Compiling rust-book-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ch12_minigrep/lib.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(err.description(), "entity not found"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ch15_05_interior_mutability/mod.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ch19_01_unsafe_rust/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | println!("COUNTER: {}", COUNTER); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "aeca1000d26e2378b951bb4f96b003636b971f8f96e98b6a8016a5bf46cb0fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeca1000d26e2378b951bb4f96b003636b971f8f96e98b6a8016a5bf46cb0fe5", kill_on_drop: false }` [INFO] [stdout] aeca1000d26e2378b951bb4f96b003636b971f8f96e98b6a8016a5bf46cb0fe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1ab65e78e33fc39e9305b99bfe50bf721e444887e1418ebd27c5ea56800d1531 [INFO] running `Command { std: "docker" "start" "-a" "1ab65e78e33fc39e9305b99bfe50bf721e444887e1418ebd27c5ea56800d1531", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/ch12_minigrep/lib.rs:141:28 [INFO] [stderr] | [INFO] [stderr] 141 | assert_eq!(err.description(), "entity not found"); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ch15_05_interior_mutability/mod.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker { [INFO] [stderr] | ^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ch19_01_unsafe_rust/mod.rs:49:33 [INFO] [stderr] | [INFO] [stderr] 49 | println!("COUNTER: {}", COUNTER); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-book-examples` (bin "rust-book-examples" test) generated 3 warnings (run `cargo fix --bin "rust-book-examples" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_book_examples-dbeb72d14d3f8118) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test ch08_mean_median_mode::tests::mean_calculates_correctly ... ok [INFO] [stdout] test ch08_mean_median_mode::tests::median_with_odd_number_of_items ... ok [INFO] [stdout] test ch08_mean_median_mode::tests::median_with_even_number_of_items ... ok [INFO] [stdout] test ch08_mean_median_mode::tests::median_with_one_item ... ok [INFO] [stdout] test ch08_pig_latin::tests::test_convert_word_handles_punctuation ... ok [INFO] [stdout] test ch08_mean_median_mode::tests::mode_when_no_duplicates_in_list ... ok [INFO] [stdout] test ch08_mean_median_mode::tests::mode_when_empty_list ... ok [INFO] [stdout] test ch08_mean_median_mode::tests::mode_when_duplicates_in_list ... ok [INFO] [stdout] test ch08_pig_latin::tests::test_convert_word_ignores_capital_in_middle ... ok [INFO] [stdout] test ch08_pig_latin::tests::test_convert_word_is_a_capital ... ok [INFO] [stdout] test ch08_pig_latin::tests::test_convert_word_starts_with_vowel ... ok [INFO] [stdout] test ch08_pig_latin::tests::test_convert_word_starts_with_consonant ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::exploration ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::it_adds_two ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::it_works ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::smaller_cannot_hold_larger ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::larger_can_hold_smaller ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::greeting_contains_name ... ok [INFO] [stdout] test ch12_minigrep::lib::tests::case_sensitive ... ok [INFO] [stdout] test ch12_minigrep::lib::tests::config_returns_config_object ... ok [INFO] [stdout] test ch12_minigrep::lib::tests::config_returns_message_with_invalid_arguments ... ok [INFO] [stdout] test ch12_minigrep::lib::tests::run_returns_message_when_file_doesnt_exist ... ok [INFO] [stdout] test ch13_01_closures::tests::cacher_call_with_different_values ... ok [INFO] [stdout] test ch12_minigrep::lib::tests::case_insensitive ... ok [INFO] [stdout] test ch13_02_iterators::tests::filters_by_size ... ok [INFO] [stdout] test ch13_02_iterators::tests::iterator_demonstration ... ok [INFO] [stdout] test ch13_02_iterators::tests::calling_next_directly ... ok [INFO] [stdout] test ch13_02_iterators::tests::using_other_iterator_trait_methods ... ok [INFO] [stdout] test ch15_05_interior_mutability::tests::it_sends_an_over_75_percent_warning_message ... ok [INFO] [stdout] test ch13_02_iterators::tests::iterator_sum ... ok [INFO] [stdout] test ch12_minigrep::lib::tests::run_works_when_file_exists ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::another - should panic ... ok [INFO] [stdout] test ch11_01_writing_tests::tests::greater_than_100 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ab65e78e33fc39e9305b99bfe50bf721e444887e1418ebd27c5ea56800d1531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab65e78e33fc39e9305b99bfe50bf721e444887e1418ebd27c5ea56800d1531", kill_on_drop: false }` [INFO] [stdout] 1ab65e78e33fc39e9305b99bfe50bf721e444887e1418ebd27c5ea56800d1531