[INFO] cloning repository https://github.com/benjamin-schultz/Egg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benjamin-schultz/Egg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-schultz%2FEgg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-schultz%2FEgg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1fb453a1c1650612b295427c96b7b85033365363
[INFO] testing benjamin-schultz/Egg against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-schultz%2FEgg" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/benjamin-schultz/Egg
[INFO] finished tweaking git repo https://github.com/benjamin-schultz/Egg
[INFO] tweaked toml for git repo https://github.com/benjamin-schultz/Egg written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/benjamin-schultz/Egg on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/benjamin-schultz/Egg 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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
[ERROR] error running command: no output for 300 seconds
[INFO] testing benjamin-schultz/Egg against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-schultz%2FEgg" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/benjamin-schultz/Egg
[INFO] finished tweaking git repo https://github.com/benjamin-schultz/Egg
[INFO] tweaked toml for git repo https://github.com/benjamin-schultz/Egg written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/benjamin-schultz/Egg on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/benjamin-schultz/Egg 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ea0afa0843ed7d5c1a67621e0d6dbf0e87ab15fb36be39ba764cb3e17b5ef12
[INFO] running `Command { std: "docker" "start" "-a" "3ea0afa0843ed7d5c1a67621e0d6dbf0e87ab15fb36be39ba764cb3e17b5ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ea0afa0843ed7d5c1a67621e0d6dbf0e87ab15fb36be39ba764cb3e17b5ef12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ea0afa0843ed7d5c1a67621e0d6dbf0e87ab15fb36be39ba764cb3e17b5ef12", kill_on_drop: false }`
[INFO] [stdout] 3ea0afa0843ed7d5c1a67621e0d6dbf0e87ab15fb36be39ba764cb3e17b5ef12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e67207e3da8141ec48e6c7464fe916e767997e7d5d12f9c42239da2c372d492
[INFO] running `Command { std: "docker" "start" "-a" "1e67207e3da8141ec48e6c7464fe916e767997e7d5d12f9c42239da2c372d492", kill_on_drop: false }`
[INFO] [stderr]    Compiling egg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "1e67207e3da8141ec48e6c7464fe916e767997e7d5d12f9c42239da2c372d492", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e67207e3da8141ec48e6c7464fe916e767997e7d5d12f9c42239da2c372d492", kill_on_drop: false }`
[INFO] [stdout] 1e67207e3da8141ec48e6c7464fe916e767997e7d5d12f9c42239da2c372d492
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e3e76c9c2eed1c58fee1a761e00cd8daa1dd6b8b23a4de399dad23b3dd8f8119
[INFO] running `Command { std: "docker" "start" "-a" "e3e76c9c2eed1c58fee1a761e00cd8daa1dd6b8b23a4de399dad23b3dd8f8119", kill_on_drop: false }`
[INFO] [stderr]    Compiling egg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 77 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 77 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 77 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 71 +     use crate::load_animals;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:89:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 89 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 71 +     use crate::load_animals;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:101:23
[INFO] [stdout]     |
[INFO] [stdout]  10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 101 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 101 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 101 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  71 +     use crate::load_animals;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout]  10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 128 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 128 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 128 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  71 +     use crate::load_animals;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:140:23
[INFO] [stdout]     |
[INFO] [stdout]  10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 140 |         let animals = load_animals().expect("Load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 140 -         let animals = load_animals().expect("Load file error");
[INFO] [stdout] 140 +         let animals = find_animals().expect("Load file error");
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  71 +     use crate::load_animals;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 77 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 77 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 77 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert!(matches.contains(&"CATTLE".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected `&(String, usize)`, found `&String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/slice/mod.rs:2590:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert!(matches.contains(&"CATTLE".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected `&(String, usize)`, found `&String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/slice/mod.rs:2590:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:89:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 89 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(matches.contains(&"CAT".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^ expected `&(String, usize)`, found `&String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/slice/mod.rs:2590:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(matches.contains(&"CAT".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^ expected `&(String, usize)`, found `&String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/slice/mod.rs:2590:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:101:23
[INFO] [stdout]     |
[INFO] [stdout]  10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 101 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 101 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 101 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_lowercase` found for tuple `(String, usize)` in the current scope
[INFO] [stdout]    --> src/lib.rs:117:36
[INFO] [stdout]     |
[INFO] [stdout] 117 |             matches_comp.push(word.to_lowercase());
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ method not found in `(String, usize)`
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 117 |             matches_comp.push(word.0.to_lowercase());
[INFO] [stdout]     |                                    ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_lowercase` found for tuple `(String, usize)` in the current scope
[INFO] [stdout]    --> src/lib.rs:117:36
[INFO] [stdout]     |
[INFO] [stdout] 117 |             matches_comp.push(word.to_lowercase());
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ method not found in `(String, usize)`
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 117 |             matches_comp.push(word.0.to_lowercase());
[INFO] [stdout]     |                                    ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout]  10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 128 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 128 -         let animals = load_animals().expect("load file error");
[INFO] [stdout] 128 +         let animals = find_animals().expect("load file error");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:134:34
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert!(matches.contains(&"WomBAT".to_string()));
[INFO] [stdout]     |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected `&(String, usize)`, found `&String`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&(String, usize)`
[INFO] [stdout]                found reference `&String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/slice/mod.rs:2590:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:143:37
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert!(has_unique_elements(matches));
[INFO] [stdout]     |                 ------------------- ^^^^^^^ expected `Vec<String>`, found `Vec<(String, usize)>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<String>`
[INFO] [stdout]                found struct `Vec<(String, usize)>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn has_unique_elements(iter: Vec<String>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ -----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:134:34
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert!(matches.contains(&"WomBAT".to_string()));
[INFO] [stdout]     |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected `&(String, usize)`, found `&String`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&(String, usize)`
[INFO] [stdout]                found reference `&String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/slice/mod.rs:2590:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:140:23
[INFO] [stdout]     |
[INFO] [stdout]  10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 140 |         let animals = load_animals().expect("Load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 140 -         let animals = load_animals().expect("Load file error");
[INFO] [stdout] 140 +         let animals = find_animals().expect("Load file error");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:143:37
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert!(has_unique_elements(matches));
[INFO] [stdout]     |                 ------------------- ^^^^^^^ expected `Vec<String>`, found `Vec<(String, usize)>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<String>`
[INFO] [stdout]                found struct `Vec<(String, usize)>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn has_unique_elements(iter: Vec<String>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ -----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `egg` (bin "egg" test) due to 10 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `egg` (lib test) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "e3e76c9c2eed1c58fee1a761e00cd8daa1dd6b8b23a4de399dad23b3dd8f8119", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3e76c9c2eed1c58fee1a761e00cd8daa1dd6b8b23a4de399dad23b3dd8f8119", kill_on_drop: false }`
[INFO] [stdout] e3e76c9c2eed1c58fee1a761e00cd8daa1dd6b8b23a4de399dad23b3dd8f8119
