[INFO] cloning repository https://github.com/martyn-smith/fsim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martyn-smith/fsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartyn-smith%2Ffsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartyn-smith%2Ffsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef6984bb0670b4c93193c8cf7a3e46d13f778301 [INFO] documenting martyn-smith/fsim against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartyn-smith%2Ffsim" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martyn-smith/fsim on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martyn-smith/fsim [INFO] finished tweaking git repo https://github.com/martyn-smith/fsim [INFO] tweaked toml for git repo https://github.com/martyn-smith/fsim written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/martyn-smith/fsim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d66ff89340e1efcb9a6108e0dc52e5bae33789d07646a1e88069f48dec71fca5 [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" "d66ff89340e1efcb9a6108e0dc52e5bae33789d07646a1e88069f48dec71fca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d66ff89340e1efcb9a6108e0dc52e5bae33789d07646a1e88069f48dec71fca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66ff89340e1efcb9a6108e0dc52e5bae33789d07646a1e88069f48dec71fca5", kill_on_drop: false }` [INFO] [stdout] d66ff89340e1efcb9a6108e0dc52e5bae33789d07646a1e88069f48dec71fca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 948ed1dbb42644131085598c22661709e4326531212b09b0e80e9be5d7243ce9 [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" "948ed1dbb42644131085598c22661709e4326531212b09b0e80e9be5d7243ce9", kill_on_drop: false }` [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Documenting plasmasim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/particle.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Add<[f64; 3]> for [f64; 3] { [INFO] [stdout] | ^^^^^-------------^^^^^-------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this is not defined in the current crate because arrays are always foreign [INFO] [stdout] | | this is not defined in the current crate because arrays are always foreign [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/particle.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl AddAssign for [f64; 3] { [INFO] [stdout] | ^^^^^--------------^^^^^-------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this is not defined in the current crate because arrays are always foreign [INFO] [stdout] | | `f64` is not defined in the current crate [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/particle.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | impl Mul<[f64; 3]> for f64 { [INFO] [stdout] | ^^^^^-------------^^^^^--- [INFO] [stdout] | | | | [INFO] [stdout] | | | `f64` is not defined in the current crate [INFO] [stdout] | | this is not defined in the current crate because arrays are always foreign [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `plasmasim`. [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name plasmasim src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern rand=/opt/rustwide/target/debug/deps/librand-849c3d09cf6d8b82.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "948ed1dbb42644131085598c22661709e4326531212b09b0e80e9be5d7243ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948ed1dbb42644131085598c22661709e4326531212b09b0e80e9be5d7243ce9", kill_on_drop: false }` [INFO] [stdout] 948ed1dbb42644131085598c22661709e4326531212b09b0e80e9be5d7243ce9