[INFO] cloning repository https://github.com/sam-myers/enigma
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sam-myers/enigma" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-myers%2Fenigma", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-myers%2Fenigma'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d8f2c98a155093e4e1db8ab7181838d3d1fbd9e1
[INFO] checking sam-myers/enigma against try#6757d700f93f6d16c8b39cf79e96b019bd570e7d for pr-155299
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-myers%2Fenigma" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sam-myers/enigma
[INFO] finished tweaking git repo https://github.com/sam-myers/enigma
[INFO] tweaked toml for git repo https://github.com/sam-myers/enigma written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sam-myers/enigma on toolchain 6757d700f93f6d16c8b39cf79e96b019bd570e7d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sam-myers/enigma 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" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.32
[INFO] [stderr]   Downloaded pretty_env_logger v0.3.1
[INFO] [stderr]   Downloaded env_logger v0.6.2
[INFO] [stderr]   Downloaded proptest v1.0.0
[INFO] [stderr]   Downloaded libc v0.2.108
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8ac215b5686f0854d55904dbeb1a4d62cc30a44f31a030a17766fac7bc97787b
[INFO] running `Command { std: "docker" "start" "-a" "8ac215b5686f0854d55904dbeb1a4d62cc30a44f31a030a17766fac7bc97787b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ac215b5686f0854d55904dbeb1a4d62cc30a44f31a030a17766fac7bc97787b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ac215b5686f0854d55904dbeb1a4d62cc30a44f31a030a17766fac7bc97787b", kill_on_drop: false }`
[INFO] [stdout] 8ac215b5686f0854d55904dbeb1a4d62cc30a44f31a030a17766fac7bc97787b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c491fb0fcd4f360b389b7dbb71b2ba0f8df79ce69efaaaf20de960fbda55941d
[INFO] running `Command { std: "docker" "start" "-a" "c491fb0fcd4f360b389b7dbb71b2ba0f8df79ce69efaaaf20de960fbda55941d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.108
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking bit-set v0.5.2
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking proptest v1.0.0
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking pretty_env_logger v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking enigma v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Enigma` is never constructed
[INFO] [stdout]  --> src/enigma.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Enigma {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `rotate`, `rotor_positions`, `encrypt_char`, and `encrypt_string` are never used
[INFO] [stdout]   --> src/enigma.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Enigma {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn rotate(&mut self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn rotor_positions(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn encrypt_char(&mut self, c: char) -> Result<char> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn encrypt_string(&mut self, input: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]  --> src/error.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type Result<T> = std::result::Result<T, EnigmaError>;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EnigmaError` is never used
[INFO] [stdout]  --> src/error.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum EnigmaError {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PhysicalRotor` is never constructed
[INFO] [stdout]  --> src/physical_rotor.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct PhysicalRotor {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Notches` is never used
[INFO] [stdout]   --> src/physical_rotor.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) enum Notches {
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `build` are never used
[INFO] [stdout]   --> src/physical_rotor.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl PhysicalRotor {
[INFO] [stdout]    | ------------------ associated functions in this implementation
[INFO] [stdout] 29 |     pub fn new(known: KnownRotor) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn build(name: &'static str, encoding: &'static str, notches: Notches) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlugBoard` is never constructed
[INFO] [stdout]  --> src/plugboard.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct PlugBoard(Vec<(char, char)>);
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `swap` are never used
[INFO] [stdout]  --> src/plugboard.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl PlugBoard {
[INFO] [stdout]   | -------------- associated items in this implementation
[INFO] [stdout] 4 |     pub fn new(connections: Vec<(char, char)>) -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub fn swap(&self, c: &char) -> char {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Reflector` is never constructed
[INFO] [stdout]  --> src/reflector.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Reflector {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `build`, and `reflect` are never used
[INFO] [stdout]   --> src/reflector.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Reflector {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(known: KnownReflector) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn build(name: &'static str, encoding: &'static str) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn reflect(&self, c: char) -> char {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]  --> src/rotor.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Position(pub u8);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RingSetting` is never constructed
[INFO] [stdout]  --> src/rotor.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RingSetting(pub u8);
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]  --> src/rotor.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum Direction {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rotor` is never constructed
[INFO] [stdout]   --> src/rotor.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Rotor {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `encipher`, `is_at_notch`, `rotate`, and `get_position` are never used
[INFO] [stdout]   --> src/rotor.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Rotor {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(physical: PhysicalRotor, ring_setting: RingSetting, position: Position) -> Rotor {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn encipher(&self, c: char, direction: Direction) -> Result<char> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn is_at_notch(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn rotate(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn get_position(&self) -> char {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/reflector.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Reflector {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 2 |     pub name: &'static str,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.57s
[INFO] running `Command { std: "docker" "inspect" "c491fb0fcd4f360b389b7dbb71b2ba0f8df79ce69efaaaf20de960fbda55941d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c491fb0fcd4f360b389b7dbb71b2ba0f8df79ce69efaaaf20de960fbda55941d", kill_on_drop: false }`
[INFO] [stdout] c491fb0fcd4f360b389b7dbb71b2ba0f8df79ce69efaaaf20de960fbda55941d
