[INFO] cloning repository https://github.com/RoryShively/price-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RoryShively/price-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoryShively%2Fprice-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoryShively%2Fprice-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a832658729959bf21f4770c81723aaa7d4eb449b [INFO] checking RoryShively/price-parser/a832658729959bf21f4770c81723aaa7d4eb449b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoryShively%2Fprice-parser" "/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/RoryShively/price-parser 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/RoryShively/price-parser [INFO] finished tweaking git repo https://github.com/RoryShively/price-parser [INFO] tweaked toml for git repo https://github.com/RoryShively/price-parser written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RoryShively/price-parser 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.8 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded syn v1.0.14 [INFO] [stderr] Downloaded bstr v0.2.10 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a5976fc399bcb74bcd7e23c4c0fb56f32314c8e8cbf938517bb85c078770d62 [INFO] running `Command { std: "docker" "start" "-a" "2a5976fc399bcb74bcd7e23c4c0fb56f32314c8e8cbf938517bb85c078770d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a5976fc399bcb74bcd7e23c4c0fb56f32314c8e8cbf938517bb85c078770d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5976fc399bcb74bcd7e23c4c0fb56f32314c8e8cbf938517bb85c078770d62", kill_on_drop: false }` [INFO] [stdout] 2a5976fc399bcb74bcd7e23c4c0fb56f32314c8e8cbf938517bb85c078770d62 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 173425b3ce92387ade2aafae22f9e2cdd727cce78bd72bd1124cbbfd04cd385c [INFO] running `Command { std: "docker" "start" "-a" "173425b3ce92387ade2aafae22f9e2cdd727cce78bd72bd1124cbbfd04cd385c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking bstr v0.2.10 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking price-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `resp` in this scope [INFO] [stdout] --> src/main.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | let utc_dt = Utc.from_utc_datetime(&resp?); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `resp` in this scope [INFO] [stdout] --> src/main.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | let utc_dt = Utc.from_utc_datetime(&resp?); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut pipeline = Pipeline::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut pipeline = Pipeline::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `pipeline` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut pipeline = Pipeline::new(); [INFO] [stdout] | ------------ move occurs because `pipeline` has type `Pipeline<'_>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 97 | for result in csv_reader.deserialize() { [INFO] [stdout] | -------------------------------------- inside of this loop [INFO] [stdout] ... [INFO] [stdout] 100 | pipeline.add_record(&mut record); [INFO] [stdout] | ^^^^^^^^ ----------------------- `pipeline` moved due to this method call, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: `Pipeline::<'a>::add_record` takes ownership of the receiver `self`, which moves `pipeline` [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | fn add_record(mut self, r: &'a mut Record) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `pipeline` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut pipeline = Pipeline::new(); [INFO] [stdout] | ------------ move occurs because `pipeline` has type `Pipeline<'_>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 97 | for result in csv_reader.deserialize() { [INFO] [stdout] | -------------------------------------- inside of this loop [INFO] [stdout] ... [INFO] [stdout] 100 | pipeline.add_record(&mut record); [INFO] [stdout] | ^^^^^^^^ ----------------------- `pipeline` moved due to this method call, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: `Pipeline::<'a>::add_record` takes ownership of the receiver `self`, which moves `pipeline` [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | fn add_record(mut self, r: &'a mut Record) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `record` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | pipeline.add_record(&mut record); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 98 | let mut record: Record = result?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `record` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | pipeline.add_record(&mut record); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 98 | let mut record: Record = result?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0425, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0425, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `price-parser` (bin "price-parser") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `price-parser` (bin "price-parser" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "173425b3ce92387ade2aafae22f9e2cdd727cce78bd72bd1124cbbfd04cd385c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173425b3ce92387ade2aafae22f9e2cdd727cce78bd72bd1124cbbfd04cd385c", kill_on_drop: false }` [INFO] [stdout] 173425b3ce92387ade2aafae22f9e2cdd727cce78bd72bd1124cbbfd04cd385c