[INFO] cloning repository https://github.com/viniciusmuller/fuzzy-alchemist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viniciusmuller/fuzzy-alchemist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviniciusmuller%2Ffuzzy-alchemist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviniciusmuller%2Ffuzzy-alchemist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2aec99822572d351c4d7692079687b6ec692044f [INFO] testing viniciusmuller/fuzzy-alchemist against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviniciusmuller%2Ffuzzy-alchemist" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viniciusmuller/fuzzy-alchemist on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/viniciusmuller/fuzzy-alchemist [INFO] finished tweaking git repo https://github.com/viniciusmuller/fuzzy-alchemist [INFO] tweaked toml for git repo https://github.com/viniciusmuller/fuzzy-alchemist written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/viniciusmuller/fuzzy-alchemist 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56d5fc28902d55e4ea839ab9b3b6907e50a40fff8cbbf5c48c50dda4f87f62f9 [INFO] running `Command { std: "docker" "start" "-a" "56d5fc28902d55e4ea839ab9b3b6907e50a40fff8cbbf5c48c50dda4f87f62f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d5fc28902d55e4ea839ab9b3b6907e50a40fff8cbbf5c48c50dda4f87f62f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d5fc28902d55e4ea839ab9b3b6907e50a40fff8cbbf5c48c50dda4f87f62f9", kill_on_drop: false }` [INFO] [stdout] 56d5fc28902d55e4ea839ab9b3b6907e50a40fff8cbbf5c48c50dda4f87f62f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f7a38da4786dd44459dbfbb35282e1716fc45ef407c26c3529f80c35367a1c3 [INFO] running `Command { std: "docker" "start" "-a" "6f7a38da4786dd44459dbfbb35282e1716fc45ef407c26c3529f80c35367a1c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling enum-derived-macro v0.2.0 [INFO] [stderr] Compiling enum-derived v0.8.2 [INFO] [stderr] Compiling fuzzy-alchemist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude::Distribution` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{prelude::Distribution, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 4 | trait Expr { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn serialize(&self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | struct NonNegativeFloat(f64); [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NonNegativeFloat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | struct NonNegativeInt(u64); [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NonNegativeInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Integer(NonNegativeInt), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NumberValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Integer(NonNegativeInt), [INFO] [stdout] 33 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Float(NonNegativeFloat), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NumberValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - Float(NonNegativeFloat), [INFO] [stdout] 34 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `has_underscores`, and `notation` are never read [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | value: NumberValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | has_underscores: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | notation: NumberNotation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 - Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] 54 + Number(()), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `String`, and `Binary` are never constructed [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 54 | Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] 55 | Atom(String), // :foo, :"Foo.Bar" [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | String(String), // "hey there" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Binary(String), // <<"hey" :: utf8, _rest>>, <<"hey">> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataStructures` is never used [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum DataStructures { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.27s [INFO] running `Command { std: "docker" "inspect" "6f7a38da4786dd44459dbfbb35282e1716fc45ef407c26c3529f80c35367a1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7a38da4786dd44459dbfbb35282e1716fc45ef407c26c3529f80c35367a1c3", kill_on_drop: false }` [INFO] [stdout] 6f7a38da4786dd44459dbfbb35282e1716fc45ef407c26c3529f80c35367a1c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f5bf9d4956d3e2a3f0846225595c847d81e7095180a04979ae7f6053b59293d [INFO] running `Command { std: "docker" "start" "-a" "1f5bf9d4956d3e2a3f0846225595c847d81e7095180a04979ae7f6053b59293d", kill_on_drop: false }` [INFO] [stderr] Compiling fuzzy-alchemist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude::Distribution` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{prelude::Distribution, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 4 | trait Expr { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn serialize(&self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | struct NonNegativeFloat(f64); [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NonNegativeFloat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | struct NonNegativeInt(u64); [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NonNegativeInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Integer(NonNegativeInt), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NumberValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Integer(NonNegativeInt), [INFO] [stdout] 33 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Float(NonNegativeFloat), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NumberValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - Float(NonNegativeFloat), [INFO] [stdout] 34 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `has_underscores`, and `notation` are never read [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | value: NumberValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | has_underscores: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | notation: NumberNotation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 - Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] 54 + Number(()), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `String`, and `Binary` are never constructed [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 54 | Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stdout] 55 | Atom(String), // :foo, :"Foo.Bar" [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | String(String), // "hey there" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Binary(String), // <<"hey" :: utf8, _rest>>, <<"hey">> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataStructures` is never used [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum DataStructures { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "1f5bf9d4956d3e2a3f0846225595c847d81e7095180a04979ae7f6053b59293d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5bf9d4956d3e2a3f0846225595c847d81e7095180a04979ae7f6053b59293d", kill_on_drop: false }` [INFO] [stdout] 1f5bf9d4956d3e2a3f0846225595c847d81e7095180a04979ae7f6053b59293d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2b73a6dd458c450cb12a659eb310ca5060c77cfa7ced1f06229bfe0dc95d83f [INFO] running `Command { std: "docker" "start" "-a" "f2b73a6dd458c450cb12a659eb310ca5060c77cfa7ced1f06229bfe0dc95d83f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `prelude::Distribution` [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::{prelude::Distribution, Rng}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `serialize` is never used [INFO] [stderr] --> src/main.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 4 | trait Expr { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] ... [INFO] [stderr] 8 | fn serialize(&self) -> String; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | struct NonNegativeFloat(f64); [INFO] [stderr] | ---------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NonNegativeFloat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | struct NonNegativeInt(u64); [INFO] [stderr] | -------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NonNegativeInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | Integer(NonNegativeInt), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `NumberValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 33 - Integer(NonNegativeInt), [INFO] [stderr] 33 + Integer(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | Float(NonNegativeFloat), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `NumberValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 - Float(NonNegativeFloat), [INFO] [stderr] 34 + Float(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `value`, `has_underscores`, and `notation` are never read [INFO] [stderr] --> src/main.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 46 | struct Number { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 47 | value: NumberValue, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 48 | has_underscores: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 49 | notation: NumberNotation, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 54 - Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stderr] 54 + Number(()), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variants `Atom`, `String`, and `Binary` are never constructed [INFO] [stderr] --> src/main.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 53 | enum Literal { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] 54 | Number(Number), // 101.2021, 0x10d, 0b01_0101_1 [INFO] [stderr] 55 | Atom(String), // :foo, :"Foo.Bar" [INFO] [stderr] | ^^^^ [INFO] [stderr] 56 | String(String), // "hey there" [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 57 | Binary(String), // <<"hey" :: utf8, _rest>>, <<"hey">> [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `DataStructures` is never used [INFO] [stderr] --> src/main.rs:60:6 [INFO] [stderr] | [INFO] [stderr] 60 | enum DataStructures { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fuzzy-alchemist` (bin "fuzzy-alchemist" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fuzzy_alchemist-f3c0c5318620dc96) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::binary ... ok [INFO] [stdout] test tests::decimal_floats ... ok [INFO] [stdout] test tests::decimal_integers ... ok [INFO] [stdout] test tests::hex ... ok [INFO] [stdout] test tests::octal ... ok [INFO] [stdout] test tests::underscores_float ... ok [INFO] [stdout] test tests::underscores_integer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2b73a6dd458c450cb12a659eb310ca5060c77cfa7ced1f06229bfe0dc95d83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b73a6dd458c450cb12a659eb310ca5060c77cfa7ced1f06229bfe0dc95d83f", kill_on_drop: false }` [INFO] [stdout] f2b73a6dd458c450cb12a659eb310ca5060c77cfa7ced1f06229bfe0dc95d83f