[INFO] cloning repository https://github.com/SBeausoleil/Chimic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SBeausoleil/Chimic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FChimic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FChimic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 110ca7e4958977abc66258787cb27b7b4ea8d61c [INFO] checking SBeausoleil/Chimic against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FChimic" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBeausoleil/Chimic on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SBeausoleil/Chimic [INFO] finished tweaking git repo https://github.com/SBeausoleil/Chimic [INFO] tweaked toml for git repo https://github.com/SBeausoleil/Chimic written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SBeausoleil/Chimic 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8b4d107b3a34eebf873ae985965d315508a91f84ec094e0de9dd113056e1a5e [INFO] running `Command { std: "docker" "start" "-a" "a8b4d107b3a34eebf873ae985965d315508a91f84ec094e0de9dd113056e1a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8b4d107b3a34eebf873ae985965d315508a91f84ec094e0de9dd113056e1a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b4d107b3a34eebf873ae985965d315508a91f84ec094e0de9dd113056e1a5e", kill_on_drop: false }` [INFO] [stdout] a8b4d107b3a34eebf873ae985965d315508a91f84ec094e0de9dd113056e1a5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e948f259533caa46925cf8cee57d7e16f7bdbd0a0d9dd3fa39073bdf8471f170 [INFO] running `Command { std: "docker" "start" "-a" "e948f259533caa46925cf8cee57d7e16f7bdbd0a0d9dd3fa39073bdf8471f170", kill_on_drop: false }` [INFO] [stderr] Checking chemistry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/reaction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/reaction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/reaction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/reaction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let hcl = molecule::new(vec![(hydrogen, 1), (chlorine, 1)]); [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ an argument of type `i32` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/molecule.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(composition: Vec<(Element, i32)>, charge: i32) -> Molecule { [INFO] [stdout] | ^^^ -------------------------------- ----------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let hcl = molecule::new(vec![(hydrogen, 1), (chlorine, 1)], /* i32 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let hcl = molecule::new(vec![(hydrogen, 1), (chlorine, 1)]); [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------ an argument of type `i32` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/molecule.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(composition: Vec<(Element, i32)>, charge: i32) -> Molecule { [INFO] [stdout] | ^^^ -------------------------------- ----------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let hcl = molecule::new(vec![(hydrogen, 1), (chlorine, 1)], /* i32 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Molecule` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{}", hcl); [INFO] [stdout] | ^^^ `Molecule` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Molecule` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [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] error[E0277]: `Molecule` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{}", hcl); [INFO] [stdout] | ^^^ `Molecule` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Molecule` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [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] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/expression.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | match compounds.iter().find(|&&mol_n| mol_n.1 == 0 as f32) { [INFO] [stdout] | ^^----- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `mol_n` has type `(Molecule, f32)`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 14 - match compounds.iter().find(|&&mol_n| mol_n.1 == 0 as f32) { [INFO] [stdout] 14 + match compounds.iter().find(|&mol_n| mol_n.1 == 0 as f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/expression.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | match compounds.iter().find(|&&mol_n| mol_n.1 == 0 as f32) { [INFO] [stdout] | ^^----- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `mol_n` has type `(Molecule, f32)`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 14 - match compounds.iter().find(|&&mol_n| mol_n.1 == 0 as f32) { [INFO] [stdout] 14 + match compounds.iter().find(|&mol_n| mol_n.1 == 0 as f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chemistry` (bin "chemistry" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chemistry` (bin "chemistry") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e948f259533caa46925cf8cee57d7e16f7bdbd0a0d9dd3fa39073bdf8471f170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e948f259533caa46925cf8cee57d7e16f7bdbd0a0d9dd3fa39073bdf8471f170", kill_on_drop: false }` [INFO] [stdout] e948f259533caa46925cf8cee57d7e16f7bdbd0a0d9dd3fa39073bdf8471f170 [INFO] checking SBeausoleil/Chimic against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FChimic" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBeausoleil/Chimic on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SBeausoleil/Chimic [INFO] finished tweaking git repo https://github.com/SBeausoleil/Chimic [INFO] tweaked toml for git repo https://github.com/SBeausoleil/Chimic written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SBeausoleil/Chimic 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c26cfdb631169655815855d6b3b9ee91bdb1ee7f31022c39741abc364fa2f44f [INFO] running `Command { std: "docker" "start" "-a" "c26cfdb631169655815855d6b3b9ee91bdb1ee7f31022c39741abc364fa2f44f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c26cfdb631169655815855d6b3b9ee91bdb1ee7f31022c39741abc364fa2f44f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26cfdb631169655815855d6b3b9ee91bdb1ee7f31022c39741abc364fa2f44f", kill_on_drop: false }` [INFO] [stdout] c26cfdb631169655815855d6b3b9ee91bdb1ee7f31022c39741abc364fa2f44f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7485322f31df88e8afe053cbe5564c97198b1ec17348028c458559ca709f7b0 [INFO] running `Command { std: "docker" "start" "-a" "e7485322f31df88e8afe053cbe5564c97198b1ec17348028c458559ca709f7b0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "e7485322f31df88e8afe053cbe5564c97198b1ec17348028c458559ca709f7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7485322f31df88e8afe053cbe5564c97198b1ec17348028c458559ca709f7b0", kill_on_drop: false }` [INFO] [stdout] e7485322f31df88e8afe053cbe5564c97198b1ec17348028c458559ca709f7b0