[INFO] cloning repository https://github.com/rafaeldalsanto/politicas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafaeldalsanto/politicas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d77f41cb77d3b7b469377064d6495bb3a370bb4d [INFO] checking rafaeldalsanto/politicas against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafaeldalsanto/politicas on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rafaeldalsanto/politicas [INFO] finished tweaking git repo https://github.com/rafaeldalsanto/politicas [INFO] tweaked toml for git repo https://github.com/rafaeldalsanto/politicas written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/rafaeldalsanto/politicas already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal v1.1.0 [INFO] [stderr] Downloaded rust_decimal_macro_impls v1.1.0 [INFO] [stderr] Downloaded rust_decimal_macros v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdb1d5b18f801855bc958e832b868c95fefb35259c010718e8c1aa9776485f02 [INFO] running `Command { std: "docker" "start" "-a" "fdb1d5b18f801855bc958e832b868c95fefb35259c010718e8c1aa9776485f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdb1d5b18f801855bc958e832b868c95fefb35259c010718e8c1aa9776485f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb1d5b18f801855bc958e832b868c95fefb35259c010718e8c1aa9776485f02", kill_on_drop: false }` [INFO] [stdout] fdb1d5b18f801855bc958e832b868c95fefb35259c010718e8c1aa9776485f02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1f5a66d198115a7654079b2391e804b4bdc2e48b6052b899ee68e81d60de2f5 [INFO] running `Command { std: "docker" "start" "-a" "a1f5a66d198115a7654079b2391e804b4bdc2e48b6052b899ee68e81d60de2f5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust_decimal v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling rust_decimal_macro_impls v1.1.0 [INFO] [stderr] Checking rust_decimal_macros v1.1.0 [INFO] [stderr] Checking politicas v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/calculadora_de_descontos.rs (1 fix) [INFO] [stdout] warning: function is never used: `processar_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn processar_politicas(politicas: &Vec, pedido: &Pedido) -> Pedido { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clonar_pedido_sem_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn clonar_pedido_sem_politicas(pedido: &Pedido) -> Pedido { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clonar_item_sem_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn clonar_item_sem_politicas(item: &ItemDePedido) -> ItemDePedido { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `obter_descontos_de_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn obter_descontos_de_politicas(pedido: &Pedido) -> HashMap<(u32, u32), Decimal> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.29s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking politicas v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `processar_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn processar_politicas(politicas: &Vec, pedido: &Pedido) -> Pedido { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clonar_pedido_sem_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn clonar_pedido_sem_politicas(pedido: &Pedido) -> Pedido { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clonar_item_sem_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn clonar_item_sem_politicas(item: &ItemDePedido) -> ItemDePedido { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `obter_descontos_de_politicas` [INFO] [stdout] --> src/calculadora_de_descontos.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn obter_descontos_de_politicas(pedido: &Pedido) -> HashMap<(u32, u32), Decimal> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "a1f5a66d198115a7654079b2391e804b4bdc2e48b6052b899ee68e81d60de2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f5a66d198115a7654079b2391e804b4bdc2e48b6052b899ee68e81d60de2f5", kill_on_drop: false }` [INFO] [stdout] a1f5a66d198115a7654079b2391e804b4bdc2e48b6052b899ee68e81d60de2f5