[INFO] cloning repository https://github.com/Reverend-Toady/rust-learner-projects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Reverend-Toady/rust-learner-projects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReverend-Toady%2Frust-learner-projects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReverend-Toady%2Frust-learner-projects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 794327faa2fdc2ef8db18686c50f6ed7a4bfbbb5 [INFO] testing Reverend-Toady/rust-learner-projects against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReverend-Toady%2Frust-learner-projects" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Reverend-Toady/rust-learner-projects on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Reverend-Toady/rust-learner-projects [INFO] finished tweaking git repo https://github.com/Reverend-Toady/rust-learner-projects [INFO] tweaked toml for git repo https://github.com/Reverend-Toady/rust-learner-projects written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Reverend-Toady/rust-learner-projects already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e2c68c61269a406ed36cd724c9ea67612ce60bd6e02fd9455078bfb815d5996 [INFO] running `Command { std: "docker" "start" "-a" "2e2c68c61269a406ed36cd724c9ea67612ce60bd6e02fd9455078bfb815d5996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e2c68c61269a406ed36cd724c9ea67612ce60bd6e02fd9455078bfb815d5996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2c68c61269a406ed36cd724c9ea67612ce60bd6e02fd9455078bfb815d5996", kill_on_drop: false }` [INFO] [stdout] 2e2c68c61269a406ed36cd724c9ea67612ce60bd6e02fd9455078bfb815d5996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c498803d3ef0153ebf819e27010f5cc433988329b4a0adf58bda4d7e2c467261 [INFO] running `Command { std: "docker" "start" "-a" "c498803d3ef0153ebf819e27010f5cc433988329b4a0adf58bda4d7e2c467261", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rust-learner-projects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `constants` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod constants; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `constants`, create file "src/constants.rs" or "src/constants/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_inp` in module `constants` [INFO] [stdout] --> src/projects/guessing.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let guess = constants::int_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_inp` in module `constants` [INFO] [stdout] --> src/main.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let inp = constants::int_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_inp` in module `constants` [INFO] [stdout] --> src/main.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let num = constants::int_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_inp` in module `constants` [INFO] [stdout] --> src/main.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | let num = constants::int_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_inp` in module `constants` [INFO] [stdout] --> src/main.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let num = constants::int_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `str_inp` in module `constants` [INFO] [stdout] --> src/main.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | let string = constants::str_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `str_inp` in module `constants` [INFO] [stdout] --> src/main.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | let string = constants::str_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `str_inp` in module `constants` [INFO] [stdout] --> src/main.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let operator = constants::str_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_inp` in module `constants` [INFO] [stdout] --> src/main.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | input.push(constants::int_inp()); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `str_inp` in module `constants` [INFO] [stdout] --> src/main.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | let string = constants::str_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `str_inp` in module `constants` [INFO] [stdout] --> src/main.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | let string = constants::str_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_inp` in module `constants` [INFO] [stdout] --> src/main.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | let num = constants::int_inp(); [INFO] [stdout] | ^^^^^^^ not found in `constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> src/projects/guessing.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | let rand_num = rand::thread_rng().gen_range(1..101); [INFO] [stdout] | -------- ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `rand_num` a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for i128; [INFO] [stdout] - impl SampleUniform for i16; [INFO] [stdout] - impl SampleUniform for i32; [INFO] [stdout] - impl SampleUniform for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.4/src/rng.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | T: SampleUniform, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 8 | let rand_num = rand::thread_rng().gen_range::(1..101); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-learner-projects` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "c498803d3ef0153ebf819e27010f5cc433988329b4a0adf58bda4d7e2c467261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c498803d3ef0153ebf819e27010f5cc433988329b4a0adf58bda4d7e2c467261", kill_on_drop: false }` [INFO] [stdout] c498803d3ef0153ebf819e27010f5cc433988329b4a0adf58bda4d7e2c467261