[INFO] cloning repository https://github.com/eda3/rust_by_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eda3/rust_by_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a6ce944bf302d0525297dbb34073341a008778a [INFO] testing eda3/rust_by_example 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%2Feda3%2Frust_by_example" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eda3/rust_by_example 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/eda3/rust_by_example [INFO] finished tweaking git repo https://github.com/eda3/rust_by_example [INFO] tweaked toml for git repo https://github.com/eda3/rust_by_example written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/eda3/rust_by_example 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db97f2b6279bc8b5cda22304fe35b7f9f72356686d7105cb811bae6dde494c78 [INFO] running `Command { std: "docker" "start" "-a" "db97f2b6279bc8b5cda22304fe35b7f9f72356686d7105cb811bae6dde494c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db97f2b6279bc8b5cda22304fe35b7f9f72356686d7105cb811bae6dde494c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db97f2b6279bc8b5cda22304fe35b7f9f72356686d7105cb811bae6dde494c78", kill_on_drop: false }` [INFO] [stdout] db97f2b6279bc8b5cda22304fe35b7f9f72356686d7105cb811bae6dde494c78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 21520ed306fbfd0b8a82feeeb9a4bdb7768a937e3436c708ec2613337684fd4f [INFO] running `Command { std: "docker" "start" "-a" "21520ed306fbfd0b8a82feeeb9a4bdb7768a937e3436c708ec2613337684fd4f", kill_on_drop: false }` [INFO] [stderr] Compiling rust_by_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `contains` has an incompatible type for trait [INFO] [stdout] --> src/bin/14-8-2-types.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn contains(&self, number_1: &i32, number_2: &i32) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `i32`, found `&i32` [INFO] [stdout] | help: change the parameter type to match the trait: `i32` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/bin/14-8-2-types.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn contains(&self, _: Self::A, _: &Self::B) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected fn pointer `fn(&Container, i32, &i32) -> _` [INFO] [stdout] found fn pointer `fn(&Container, &i32, &i32) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/14-8-2-types.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | container.contains(&number_1, &number_2) [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 50 - container.contains(&number_1, &number_2) [INFO] [stdout] 50 + container.contains(number_1, &number_2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_by_example` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/bin/15-4-4_struct.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | x: &'a i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NamedBorrowed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/15-4-4_struct.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/bin/15-4-4_struct.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | y: &'a i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NamedBorrowed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/15-4-4_struct.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21520ed306fbfd0b8a82feeeb9a4bdb7768a937e3436c708ec2613337684fd4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21520ed306fbfd0b8a82feeeb9a4bdb7768a937e3436c708ec2613337684fd4f", kill_on_drop: false }` [INFO] [stdout] 21520ed306fbfd0b8a82feeeb9a4bdb7768a937e3436c708ec2613337684fd4f