[INFO] fetching crate optimath 0.3.0... [INFO] documenting optimath-0.3.0 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate optimath 0.3.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate optimath 0.3.0 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate optimath 0.3.0 [INFO] finished tweaking crates.io crate optimath 0.3.0 [INFO] tweaked toml for crates.io crate optimath 0.3.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6086e36e7588a2aa2482674f527a1312dcfe537f2fbd704cbd65deb72568b261 [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" "6086e36e7588a2aa2482674f527a1312dcfe537f2fbd704cbd65deb72568b261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6086e36e7588a2aa2482674f527a1312dcfe537f2fbd704cbd65deb72568b261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6086e36e7588a2aa2482674f527a1312dcfe537f2fbd704cbd65deb72568b261", kill_on_drop: false }` [INFO] [stdout] 6086e36e7588a2aa2482674f527a1312dcfe537f2fbd704cbd65deb72568b261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06d34de6b07860d79114475b1b29c91181d993d61836297cf29ffa1c7224a4e4 [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" "06d34de6b07860d79114475b1b29c91181d993d61836297cf29ffa1c7224a4e4", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling libc v0.2.76 [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] Documenting optimath v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `default` is only allowed on items in `impl` definitions [INFO] [stdout] --> src/advanced.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | pub default fn matrix_multiply( [INFO] [stdout] | ^ ------- `default` because of this [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 21 | | &'a self, [INFO] [stdout] 22 | | other: &'b Matrix, [INFO] [stdout] 23 | | ) -> Matrix { [INFO] [stdout] ... | [INFO] [stdout] 40 | | output [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `default` is only allowed on items in `impl` definitions [INFO] [stdout] --> src/advanced.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | pub default fn dot(self, other: &'b Vector) -> T { (self * other).into_iter().sum() } [INFO] [stdout] | ^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `default` because of this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `default` is only allowed on items in `impl` definitions [INFO] [stdout] --> src/advanced.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | pub default fn dot(&'a self, other: &'b Vector) -> T { (self * other).into_iter().sum() } [INFO] [stdout] | ^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `default` because of this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(maybe_uninit_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(associated_type_defaults)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(fixed_size_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: Could not document `optimath`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name optimath src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="rand"' --cfg 'feature="serde"' --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-a17f6bcb66df22df.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-cccfee88330015dd.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "06d34de6b07860d79114475b1b29c91181d993d61836297cf29ffa1c7224a4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d34de6b07860d79114475b1b29c91181d993d61836297cf29ffa1c7224a4e4", kill_on_drop: false }` [INFO] [stdout] 06d34de6b07860d79114475b1b29c91181d993d61836297cf29ffa1c7224a4e4