[INFO] updating cached repository https://github.com/a-yuto/iris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 286370eebc2e288a999e537c5ed9317198e04e84 [INFO] documenting a-yuto/iris against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-yuto%2Firis" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a-yuto/iris 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/a-yuto/iris [INFO] finished tweaking git repo https://github.com/a-yuto/iris [INFO] tweaked toml for git repo https://github.com/a-yuto/iris written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/a-yuto/iris 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 988f0dcb44cf49317c2b488aceaa1237837adbf1e981383d503e803e999a37c1 [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" "988f0dcb44cf49317c2b488aceaa1237837adbf1e981383d503e803e999a37c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "988f0dcb44cf49317c2b488aceaa1237837adbf1e981383d503e803e999a37c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988f0dcb44cf49317c2b488aceaa1237837adbf1e981383d503e803e999a37c1", kill_on_drop: false }` [INFO] [stdout] 988f0dcb44cf49317c2b488aceaa1237837adbf1e981383d503e803e999a37c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] fd8cbd6b2a3b72a53492c7d08b9939b466b09f4725fe2ebeab70d61d7f0c8a99 [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" "fd8cbd6b2a3b72a53492c7d08b9939b466b09f4725fe2ebeab70d61d7f0c8a99", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking bstr v0.2.10 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Documenting iris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/colum.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | pub push_colum(col: &Colum) -> Colum{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add `fn` here to parse `push_colum` as a public function [INFO] [stdout] | [INFO] [stdout] 5 | pub fn push_colum(col: &Colum) -> Colum{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub itr: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub sepal_length: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub sepal_width: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub petal_length:Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub petal_width: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub species: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mean(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mean(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn var(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn var(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | fn cal(colum: &Colum,itr:usize,ans:f64) -> f64{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal(col1: &Colum,col2: &Colum,itr:usize,ans:f64) -> f64 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal(col1: &Colum,col2: &Colum,itr:usize,ans:f64) -> f64 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stdev(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stdev(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `iris`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name iris src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern csv=/opt/rustwide/target/debug/deps/libcsv-8cc366b27b7f47e8.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-2b301ec4cab0888e.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "fd8cbd6b2a3b72a53492c7d08b9939b466b09f4725fe2ebeab70d61d7f0c8a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd8cbd6b2a3b72a53492c7d08b9939b466b09f4725fe2ebeab70d61d7f0c8a99", kill_on_drop: false }` [INFO] [stdout] fd8cbd6b2a3b72a53492c7d08b9939b466b09f4725fe2ebeab70d61d7f0c8a99