[INFO] cloning repository https://github.com/Ry-Kurihara/rust_learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ry-Kurihara/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRy-Kurihara%2Frust_learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRy-Kurihara%2Frust_learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2da123a29ae50e9e813ca2b6326af44cb9fe2c25 [INFO] checking Ry-Kurihara/rust_learning against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRy-Kurihara%2Frust_learning" "/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/Ry-Kurihara/rust_learning [INFO] finished tweaking git repo https://github.com/Ry-Kurihara/rust_learning [INFO] tweaked toml for git repo https://github.com/Ry-Kurihara/rust_learning written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ry-Kurihara/rust_learning on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ry-Kurihara/rust_learning 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" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text-colorizer v1.0.0 [INFO] [stderr] Downloaded png v0.7.0 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded inflate v0.2.0 [INFO] [stderr] Downloaded image v0.13.0 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b096abfbae9cc03ef507050c963b6e722bd3cbb2fcebf4dce4577c2bf745de89 [INFO] running `Command { std: "docker" "start" "-a" "b096abfbae9cc03ef507050c963b6e722bd3cbb2fcebf4dce4577c2bf745de89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b096abfbae9cc03ef507050c963b6e722bd3cbb2fcebf4dce4577c2bf745de89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b096abfbae9cc03ef507050c963b6e722bd3cbb2fcebf4dce4577c2bf745de89", kill_on_drop: false }` [INFO] [stdout] b096abfbae9cc03ef507050c963b6e722bd3cbb2fcebf4dce4577c2bf745de89 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f25ea2c1b4bd3ba873897d6b9694d1c2a31dfd836e467d708497d171dad04a [INFO] running `Command { std: "docker" "start" "-a" "93f25ea2c1b4bd3ba873897d6b9694d1c2a31dfd836e467d708497d171dad04a", kill_on_drop: false }` [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking text-colorizer v1.0.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking png v0.7.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.13.0 [INFO] [stderr] Checking rust_learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: the method `sum` exists for struct `Point<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bin/sand.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | --------------- method `sum` not found for this struct because it doesn't satisfy `Point<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 18 | println!("Sum of integers: {}", p1.sum()); [INFO] [stdout] | ^^^ method cannot be called on `Point<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Point<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/core/src/iter/traits/iterator.rs:40:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sum`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Summable` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `Sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sum` exists for struct `Point<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bin/sand.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | --------------- method `sum` not found for this struct because it doesn't satisfy `Point<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 18 | println!("Sum of integers: {}", p1.sum()); [INFO] [stdout] | ^^^ method cannot be called on `Point<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Point<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/core/src/iter/traits/iterator.rs:40:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sum`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Summable` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `Sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sum` exists for struct `Point<{float}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bin/sand.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | --------------- method `sum` not found for this struct because it doesn't satisfy `Point<{float}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 19 | println!("Sum of floats: {}", p2.sum()); [INFO] [stdout] | ^^^ method cannot be called on `Point<{float}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point<{float}>: Iterator` [INFO] [stdout] which is required by `&mut Point<{float}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/core/src/iter/traits/iterator.rs:40:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sum`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Summable` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `Sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sum` exists for struct `Point<{float}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bin/sand.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | --------------- method `sum` not found for this struct because it doesn't satisfy `Point<{float}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 19 | println!("Sum of floats: {}", p2.sum()); [INFO] [stdout] | ^^^ method cannot be called on `Point<{float}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point<{float}>: Iterator` [INFO] [stdout] which is required by `&mut Point<{float}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/core/src/iter/traits/iterator.rs:40:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sum`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Summable` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `Sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_learning` (bin "sand" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_learning` (bin "sand") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "93f25ea2c1b4bd3ba873897d6b9694d1c2a31dfd836e467d708497d171dad04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f25ea2c1b4bd3ba873897d6b9694d1c2a31dfd836e467d708497d171dad04a", kill_on_drop: false }` [INFO] [stdout] 93f25ea2c1b4bd3ba873897d6b9694d1c2a31dfd836e467d708497d171dad04a