[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [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] building rafaeldalsanto/politicas against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-4-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] building rafaeldalsanto/politicas against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafaeldalsanto/politicas on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] building rafaeldalsanto/politicas against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeldalsanto%2Fpoliticas" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafaeldalsanto/politicas on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5bffe99a1d5c2ffe0797310c60f22e641f92388384b7e39edf1554aad031669 [INFO] running `Command { std: "docker" "start" "-a" "b5bffe99a1d5c2ffe0797310c60f22e641f92388384b7e39edf1554aad031669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5bffe99a1d5c2ffe0797310c60f22e641f92388384b7e39edf1554aad031669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5bffe99a1d5c2ffe0797310c60f22e641f92388384b7e39edf1554aad031669", kill_on_drop: false }` [INFO] [stdout] b5bffe99a1d5c2ffe0797310c60f22e641f92388384b7e39edf1554aad031669 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f21c6eeda77b62ff263e4d09123dcbf973b786cb173c26b77dd36ef2eb2c18b5 [INFO] running `Command { std: "docker" "start" "-a" "f21c6eeda77b62ff263e4d09123dcbf973b786cb173c26b77dd36ef2eb2c18b5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling byteorder v1.3.2 [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-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust_decimal v1.1.0 [INFO] [stderr] Compiling rust_decimal_macro_impls v1.1.0 [INFO] [stderr] Compiling rust_decimal_macros v1.1.0 [INFO] [stderr] Compiling politicas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/calculadora_de_descontos.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EFiltro` is never constructed [INFO] [stdout] --> src/filtros/efiltro.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EFiltro { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EFiltro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `minimo` and `maximo` are never read [INFO] [stdout] --> src/filtros/intervalo.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Intervalo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | pub minimo: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub maximo: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intervalo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contem` is never used [INFO] [stdout] --> src/filtros/intervalo.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Intervalo { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 10 | pub fn contem(&self, valor: Decimal) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValorDoPedido` is never constructed [INFO] [stdout] --> src/filtros/valor_do_pedido.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ValorDoPedido { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValorDoPedido` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `nome`, and `regras` are never read [INFO] [stdout] --> src/politica.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Politica { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub nome: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub regras: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Politica` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `editavel`, `aplicavel_a_promocoes`, `filtro`, `desconto_maximo`, and `desconto_sugerido` are never read [INFO] [stdout] --> src/politica.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Regra { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub editavel: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub aplicavel_a_promocoes: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub filtro: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub desconto_maximo: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub desconto_sugerido: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Regra` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `processar_politicas` is never used [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] [INFO] [stdout] warning: function `clonar_pedido_sem_politicas` is never used [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 `clonar_item_sem_politicas` is never used [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 `obter_descontos_de_politicas` is never used [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.44s [INFO] running `Command { std: "docker" "inspect" "f21c6eeda77b62ff263e4d09123dcbf973b786cb173c26b77dd36ef2eb2c18b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f21c6eeda77b62ff263e4d09123dcbf973b786cb173c26b77dd36ef2eb2c18b5", kill_on_drop: false }` [INFO] [stdout] f21c6eeda77b62ff263e4d09123dcbf973b786cb173c26b77dd36ef2eb2c18b5 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa76625013d426089805c178462627777e43f6a76f5d8d320065d69b1962b9f [INFO] running `Command { std: "docker" "start" "-a" "9aa76625013d426089805c178462627777e43f6a76f5d8d320065d69b1962b9f", kill_on_drop: false }` [INFO] [stderr] Compiling politicas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/calculadora_de_descontos.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `nome` are never read [INFO] [stdout] --> src/politica.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Politica { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub nome: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Politica` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `editavel` and `desconto_maximo` are never read [INFO] [stdout] --> src/politica.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Regra { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub id: u32, [INFO] [stdout] 14 | pub editavel: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub desconto_maximo: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Regra` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "9aa76625013d426089805c178462627777e43f6a76f5d8d320065d69b1962b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa76625013d426089805c178462627777e43f6a76f5d8d320065d69b1962b9f", kill_on_drop: false }` [INFO] [stdout] 9aa76625013d426089805c178462627777e43f6a76f5d8d320065d69b1962b9f