[INFO] cloning repository https://github.com/rosendolu/rust_01 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rosendolu/rust_01" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosendolu%2Frust_01", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosendolu%2Frust_01'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fce20e5329f1d290c531dd5a01512d89b8485319 [INFO] testing rosendolu/rust_01 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosendolu%2Frust_01" "/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/rosendolu/rust_01 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rosendolu/rust_01 [INFO] finished tweaking git repo https://github.com/rosendolu/rust_01 [INFO] tweaked toml for git repo https://github.com/rosendolu/rust_01 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/rosendolu/rust_01 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b032cbc91d46c4fe663c717c35927cffc534ce36adb54e6ba4a12cd4ce89aca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b032cbc91d46c4fe663c717c35927cffc534ce36adb54e6ba4a12cd4ce89aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b032cbc91d46c4fe663c717c35927cffc534ce36adb54e6ba4a12cd4ce89aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b032cbc91d46c4fe663c717c35927cffc534ce36adb54e6ba4a12cd4ce89aca", kill_on_drop: false }` [INFO] [stdout] 5b032cbc91d46c4fe663c717c35927cffc534ce36adb54e6ba4a12cd4ce89aca [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9995aa27c3f74c8a2a227cc4168d9afaa77e77b5d3f9130620b5b4c2d77264f0 [INFO] running `Command { std: "docker" "start" "-a" "9995aa27c3f74c8a2a227cc4168d9afaa77e77b5d3f9130620b5b4c2d77264f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rust_01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | match guess.cmp(&secret) { [INFO] [stdout] | ^^^^^^^ expected struct `String`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> src/main.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | let secret = rand::thread_rng().gen_range(1..101); [INFO] [stdout] | ------ ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `secret` 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.5/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 secret = rand::thread_rng().gen_range::(1..101); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> src/main.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | let secret2 = rand::thread_rng().gen_range(1..200); [INFO] [stdout] | ------- ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `secret2` 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.5/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] 9 | let secret2 = rand::thread_rng().gen_range::(1..200); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_01` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9995aa27c3f74c8a2a227cc4168d9afaa77e77b5d3f9130620b5b4c2d77264f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9995aa27c3f74c8a2a227cc4168d9afaa77e77b5d3f9130620b5b4c2d77264f0", kill_on_drop: false }` [INFO] [stdout] 9995aa27c3f74c8a2a227cc4168d9afaa77e77b5d3f9130620b5b4c2d77264f0