[INFO] cloning repository https://github.com/Arthur99Silva/Sistema-Compras-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arthur99Silva/Sistema-Compras-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthur99Silva%2FSistema-Compras-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthur99Silva%2FSistema-Compras-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c77905e841d555a4360829a18a71f973ed1b83a0
[INFO] checking Arthur99Silva/Sistema-Compras-Rust against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthur99Silva%2FSistema-Compras-Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Arthur99Silva/Sistema-Compras-Rust
[INFO] finished tweaking git repo https://github.com/Arthur99Silva/Sistema-Compras-Rust
[INFO] tweaked toml for git repo https://github.com/Arthur99Silva/Sistema-Compras-Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Arthur99Silva/Sistema-Compras-Rust on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Arthur99Silva/Sistema-Compras-Rust 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf1577dc159d369f0687a8ac0b315c079340ffcf0940cbe8405eaf18cfdab472
[INFO] running `Command { std: "docker" "start" "-a" "bf1577dc159d369f0687a8ac0b315c079340ffcf0940cbe8405eaf18cfdab472", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf1577dc159d369f0687a8ac0b315c079340ffcf0940cbe8405eaf18cfdab472", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf1577dc159d369f0687a8ac0b315c079340ffcf0940cbe8405eaf18cfdab472", kill_on_drop: false }`
[INFO] [stdout] bf1577dc159d369f0687a8ac0b315c079340ffcf0940cbe8405eaf18cfdab472
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3bb584cd052c3dc639d304b5c606c7c96b3750312b0cc054efee9f510adb46a2
[INFO] running `Command { std: "docker" "start" "-a" "3bb584cd052c3dc639d304b5c606c7c96b3750312b0cc054efee9f510adb46a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking tp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `Totalizavel` is never used
[INFO] [stdout]   --> src/main.rs:73:7
[INFO] [stdout]    |
[INFO] [stdout] 73 | trait Totalizavel {
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `produto`, `valor`, and `quantidade` are never read
[INFO] [stdout]   --> src/main.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct ItemVenda {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 78 |     produto: Produto,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 79 |     valor: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 80 |     quantidade: i32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl ItemVenda {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 84 |     fn new(produto: Produto, quantidade: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `numero`, `data`, and `itens` are never read
[INFO] [stdout]    --> src/main.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct Venda {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 101 |     numero: i32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 102 |     data: NaiveDateTime,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 103 |     clientes: Vec<Cliente>,
[INFO] [stdout] 104 |     itens: Vec<ItemVenda>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `adicionar_item` and `valor_total_produtos` are never used
[INFO] [stdout]    --> src/main.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl Venda {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn adicionar_item(&mut self, item: ItemVenda) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn valor_total_produtos(&self) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Totalizavel` is never used
[INFO] [stdout]   --> src/main.rs:73:7
[INFO] [stdout]    |
[INFO] [stdout] 73 | trait Totalizavel {
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `produto`, `valor`, and `quantidade` are never read
[INFO] [stdout]   --> src/main.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct ItemVenda {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 78 |     produto: Produto,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 79 |     valor: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 80 |     quantidade: i32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl ItemVenda {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 84 |     fn new(produto: Produto, quantidade: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `numero`, `data`, and `itens` are never read
[INFO] [stdout]    --> src/main.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct Venda {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 101 |     numero: i32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 102 |     data: NaiveDateTime,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 103 |     clientes: Vec<Cliente>,
[INFO] [stdout] 104 |     itens: Vec<ItemVenda>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `adicionar_item` and `valor_total_produtos` are never used
[INFO] [stdout]    --> src/main.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl Venda {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn adicionar_item(&mut self, item: ItemVenda) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn valor_total_produtos(&self) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.41s
[INFO] running `Command { std: "docker" "inspect" "3bb584cd052c3dc639d304b5c606c7c96b3750312b0cc054efee9f510adb46a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bb584cd052c3dc639d304b5c606c7c96b3750312b0cc054efee9f510adb46a2", kill_on_drop: false }`
[INFO] [stdout] 3bb584cd052c3dc639d304b5c606c7c96b3750312b0cc054efee9f510adb46a2
