[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/110ca7e4958977abc66258787cb27b7b4ea8d61c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FChimic" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBeausoleil/Chimic on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd481e7c763521f948e085c9b437eab753cd9d1fb1f6b36100e2f5f32e95aed3 [INFO] running `Command { std: "docker" "start" "-a" "fd481e7c763521f948e085c9b437eab753cd9d1fb1f6b36100e2f5f32e95aed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd481e7c763521f948e085c9b437eab753cd9d1fb1f6b36100e2f5f32e95aed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd481e7c763521f948e085c9b437eab753cd9d1fb1f6b36100e2f5f32e95aed3", kill_on_drop: false }` [INFO] [stdout] fd481e7c763521f948e085c9b437eab753cd9d1fb1f6b36100e2f5f32e95aed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 739450e06a92e1bd1403eeb4187b9fe25667d2a3649f7180cb7a7b0749da4c50 [INFO] running `Command { std: "docker" "start" "-a" "739450e06a92e1bd1403eeb4187b9fe25667d2a3649f7180cb7a7b0749da4c50", 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] | ^^^^^^^^^^^^^------------------------------------ argument #2 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] | ^^^^^^^^^^^^^------------------------------------ argument #2 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") 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" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "739450e06a92e1bd1403eeb4187b9fe25667d2a3649f7180cb7a7b0749da4c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739450e06a92e1bd1403eeb4187b9fe25667d2a3649f7180cb7a7b0749da4c50", kill_on_drop: false }` [INFO] [stdout] 739450e06a92e1bd1403eeb4187b9fe25667d2a3649f7180cb7a7b0749da4c50