[INFO] cloning repository https://github.com/codeandplay/rust_in_action_examples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeandplay/rust_in_action_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Frust_in_action_examples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Frust_in_action_examples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eeb4d1a40dd3445150dec6122f9a2f2011da65ae
[INFO] testing codeandplay/rust_in_action_examples against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Frust_in_action_examples" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/codeandplay/rust_in_action_examples on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/codeandplay/rust_in_action_examples
[INFO] finished tweaking git repo https://github.com/codeandplay/rust_in_action_examples
[INFO] tweaked toml for git repo https://github.com/codeandplay/rust_in_action_examples written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/codeandplay/rust_in_action_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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b741dee7c6d8adcbac4d2ae5b80b4fcd8d535c8f91f97654991aae35a720c2f
[INFO] running `Command { std: "docker" "start" "-a" "2b741dee7c6d8adcbac4d2ae5b80b4fcd8d535c8f91f97654991aae35a720c2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b741dee7c6d8adcbac4d2ae5b80b4fcd8d535c8f91f97654991aae35a720c2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b741dee7c6d8adcbac4d2ae5b80b4fcd8d535c8f91f97654991aae35a720c2f", kill_on_drop: false }`
[INFO] [stdout] 2b741dee7c6d8adcbac4d2ae5b80b4fcd8d535c8f91f97654991aae35a720c2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dacbc83aeafa81b590b9ec799bb1eedddc9e711e10d4f6bb1f30b61b573d568a
[INFO] running `Command { std: "docker" "start" "-a" "dacbc83aeafa81b590b9ec799bb1eedddc9e711e10d4f6bb1f30b61b573d568a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.88
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-bigint v0.4.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `needle`
[INFO] [stdout]  --> src/bin/2_14_match.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let needle = 42;
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_needle`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]  --> src/bin/2_4_float_number_nan.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 |     assert!(f32::NAN == f32::NAN, false);
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]   |
[INFO] [stdout] 2 |     assert!(f32::NAN == f32::NAN, "{}", false);
[INFO] [stdout]   |                                   +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sat_id`
[INFO] [stdout]   --> src/bin/4_21_implement_copy_for_type.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn check_status(sat_id: CubeSat) -> StatusMessage {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sat_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a_status`
[INFO] [stdout]   --> src/bin/4_21_implement_copy_for_type.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let a_status = check_status(sat_a);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a_status`
[INFO] [stdout]   --> src/bin/4_21_implement_copy_for_type.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let a_status = check_status(sat_a);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `save_to`
[INFO] [stdout]   --> src/bin/3_19_read_trait.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn read(self: &File, save_to: &mut Vec<u8>) -> Result<usize, String> {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_save_to`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]   --> src/bin/4_17_avoid_ownership_issue_with_shortlived_variable.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Message {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 15 |     to: u64,
[INFO] [stdout] 16 |     content: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/bin/4_16_avoid_ownership_issue_with_reference.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct CubeSat {
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] 3 |     id: u64,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CubeSat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sat_id`
[INFO] [stdout]   --> src/bin/4_20_derive_copy_for_type.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn check_status(sat_id: CubeSat) -> StatusMessage {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sat_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a_status`
[INFO] [stdout]   --> src/bin/4_20_derive_copy_for_type.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let a_status = check_status(sat_a);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a_status`
[INFO] [stdout]   --> src/bin/4_20_derive_copy_for_type.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let a_status = check_status(sat_a);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `grains`
[INFO] [stdout]   --> src/bin/1_6_dangling_pointer.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut grains: Vec<Cereal> = vec![];
[INFO] [stdout]    |         ---------- move occurs because `grains` has type `Vec<Cereal>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     drop(grains);
[INFO] [stdout]    |          ------ value moved here
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |     println!("{:?}", grains);
[INFO] [stdout]    |                      ^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/bin/4_20_derive_copy_for_type.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct CubeSat {
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] 3 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CubeSat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `example` (bin "1_6_dangling_pointer") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "dacbc83aeafa81b590b9ec799bb1eedddc9e711e10d4f6bb1f30b61b573d568a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dacbc83aeafa81b590b9ec799bb1eedddc9e711e10d4f6bb1f30b61b573d568a", kill_on_drop: false }`
[INFO] [stdout] dacbc83aeafa81b590b9ec799bb1eedddc9e711e10d4f6bb1f30b61b573d568a
