[INFO] cloning repository https://github.com/BruceChar/LearnRustByExample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BruceChar/LearnRustByExample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBruceChar%2FLearnRustByExample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBruceChar%2FLearnRustByExample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2150219561f9dd455dbbc74483301654dc899e9f [INFO] checking BruceChar/LearnRustByExample/2150219561f9dd455dbbc74483301654dc899e9f against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBruceChar%2FLearnRustByExample" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BruceChar/LearnRustByExample on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BruceChar/LearnRustByExample [INFO] finished tweaking git repo https://github.com/BruceChar/LearnRustByExample [INFO] tweaked toml for git repo https://github.com/BruceChar/LearnRustByExample written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BruceChar/LearnRustByExample 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9476c7395656113dfaf510d009084a65cb2968ba5499fecc8368ad2e5e18fa4 [INFO] running `Command { std: "docker" "start" "-a" "e9476c7395656113dfaf510d009084a65cb2968ba5499fecc8368ad2e5e18fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9476c7395656113dfaf510d009084a65cb2968ba5499fecc8368ad2e5e18fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9476c7395656113dfaf510d009084a65cb2968ba5499fecc8368ad2e5e18fa4", kill_on_drop: false }` [INFO] [stdout] e9476c7395656113dfaf510d009084a65cb2968ba5499fecc8368ad2e5e18fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ac0954a36293be1b118a9468c3105a158910340663ab017d173e6393d776638 [INFO] running `Command { std: "docker" "start" "-a" "2ac0954a36293be1b118a9468c3105a158910340663ab017d173e6393d776638", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking another v0.1.0 (/opt/rustwide/workdir/src/another) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking anolib v0.1.0 (/opt/rustwide/workdir/anolib) [INFO] [stderr] Checking mylib v0.1.0 (/opt/rustwide/workdir/mylib) [INFO] [stderr] Checking RustByExamples v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking start v0.1.0 (/opt/rustwide/workdir/start) [INFO] [stdout] error[E0277]: cannot add a float to an integer [INFO] [stdout] --> examples/recursive_type.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | println!("{:?} {:?}", e, c+d); [INFO] [stdout] | ^ no implementation for `{integer} + {float}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add<{float}>` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&f128` implements `Add` [INFO] [stdout] `&f128` implements `Add` [INFO] [stdout] `&f16` implements `Add` [INFO] [stdout] `&f16` implements `Add` [INFO] [stdout] `&f32` implements `Add` [INFO] [stdout] `&f32` implements `Add` [INFO] [stdout] `&f64` implements `Add` [INFO] [stdout] `&f64` implements `Add` [INFO] [stdout] and 56 others [INFO] [stdout] note: required for `Cup<{integer}>` to implement `Add>` [INFO] [stdout] --> examples/recursive_type.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Add> for Cup [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 20 | where A: Add [INFO] [stdout] | ------ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `next` in this scope [INFO] [stdout] --> examples/box.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 41 | next: &'a Node<'a>, [INFO] [stdout] | ---- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 48 | next [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustByExamples` (example "recursive_type") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `HashMap<_, _>` [INFO] [stdout] --> examples/rc.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let m = HashMap::new(); [INFO] [stdout] | ^ -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `m` an explicit type, where the type for type parameter `K` is specified [INFO] [stdout] | [INFO] [stdout] 21 | let m: HashMap = HashMap::new(); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustByExamples` (example "box") due to 1 previous error [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/inter_mutability.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let b = Cons(RefCell::new(4), Rc::clone(&a)); [INFO] [stdout] | --------- ^^ expected `&Rc`, found `&List` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Rc` [INFO] [stdout] found reference `&List` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/clone.rs:165:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/inter_mutability.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let c = Cons(RefCell::new(3), Rc::clone(&a)); [INFO] [stdout] | --------- ^^ expected `&Rc`, found `&List` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Rc` [INFO] [stdout] found reference `&List` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/clone.rs:165:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `borrow_mut` on type `RefCell` [INFO] [stdout] --> examples/inter_mutability.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | *v.borrow_mut += 5; [INFO] [stdout] | ^^^^^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RustByExamples` (example "rc") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0308, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustByExamples` (example "inter_mutability") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2ac0954a36293be1b118a9468c3105a158910340663ab017d173e6393d776638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac0954a36293be1b118a9468c3105a158910340663ab017d173e6393d776638", kill_on_drop: false }` [INFO] [stdout] 2ac0954a36293be1b118a9468c3105a158910340663ab017d173e6393d776638