[INFO] cloning repository https://github.com/mreboland/rustOwnershipMoves [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustOwnershipMoves" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustOwnershipMoves", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustOwnershipMoves'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8a3d6c7a973347f046d7b34207b1c07625269f5 [INFO] documenting mreboland/rustOwnershipMoves against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustOwnershipMoves" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustOwnershipMoves on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mreboland/rustOwnershipMoves [INFO] finished tweaking git repo https://github.com/mreboland/rustOwnershipMoves [INFO] tweaked toml for git repo https://github.com/mreboland/rustOwnershipMoves written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustOwnershipMoves already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77c6b3e23c0eb4bd45018e9da4060d505744ff181f5a26744b4e0aaa36d3df98 [INFO] running `Command { std: "docker" "start" "-a" "77c6b3e23c0eb4bd45018e9da4060d505744ff181f5a26744b4e0aaa36d3df98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77c6b3e23c0eb4bd45018e9da4060d505744ff181f5a26744b4e0aaa36d3df98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c6b3e23c0eb4bd45018e9da4060d505744ff181f5a26744b4e0aaa36d3df98", kill_on_drop: false }` [INFO] [stdout] 77c6b3e23c0eb4bd45018e9da4060d505744ff181f5a26744b4e0aaa36d3df98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b09616bef46bd26be951fb8e8a8211ad8e48a7e722173eb3957b22582a0d6e5c [INFO] running `Command { std: "docker" "start" "-a" "b09616bef46bd26be951fb8e8a8211ad8e48a7e722173eb3957b22582a0d6e5c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting ownership-moves v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | h(x) // bad: x is uninitialized here if either path uses it [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 83 | let x = vec![10, 20, 30]; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(second, "102") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 136 | let third = std::mem::replace(&mut v[2], "substitute".to_string()); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Person` is defined multiple times [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct Person { name: String, birth: i32 } [INFO] [stdout] | ------------- previous definition of the type `Person` here [INFO] [stdout] ... [INFO] [stdout] 157 | struct Person { name: Option, birth: i32 } [INFO] [stdout] | ^^^^^^^^^^^^^ `Person` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Person` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Label` is defined multiple times [INFO] [stdout] --> src/main.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 198 | struct Label { number: u32 } [INFO] [stdout] | ------------ previous definition of the type `Label` here [INFO] [stdout] ... [INFO] [stdout] 217 | struct Label { number: u32 } [INFO] [stdout] | ^^^^^^^^^^^^ `Label` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Label` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not document `ownership-moves` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name ownership_moves src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=9d227dec6926653d -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "b09616bef46bd26be951fb8e8a8211ad8e48a7e722173eb3957b22582a0d6e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09616bef46bd26be951fb8e8a8211ad8e48a7e722173eb3957b22582a0d6e5c", kill_on_drop: false }` [INFO] [stdout] b09616bef46bd26be951fb8e8a8211ad8e48a7e722173eb3957b22582a0d6e5c