[INFO] updating cached repository https://github.com/edfloreshz/compiler-rs [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] 12fb13db2ce67dd30225db7da8d94bd799f1603f [INFO] documenting edfloreshz/compiler-rs against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedfloreshz%2Fcompiler-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edfloreshz/compiler-rs on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edfloreshz/compiler-rs [INFO] finished tweaking git repo https://github.com/edfloreshz/compiler-rs [INFO] tweaked toml for git repo https://github.com/edfloreshz/compiler-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/edfloreshz/compiler-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a920b6e6cb46e7a3b67975a7e8c972e5dfbeb42fe7324ca4f32a7fb122eec0a [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" "2a920b6e6cb46e7a3b67975a7e8c972e5dfbeb42fe7324ca4f32a7fb122eec0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a920b6e6cb46e7a3b67975a7e8c972e5dfbeb42fe7324ca4f32a7fb122eec0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a920b6e6cb46e7a3b67975a7e8c972e5dfbeb42fe7324ca4f32a7fb122eec0a", kill_on_drop: false }` [INFO] [stdout] 2a920b6e6cb46e7a3b67975a7e8c972e5dfbeb42fe7324ca4f32a7fb122eec0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] afe2e6b351b6c6f57637e131761b87c17de46701d58c4dc0add174d67d2c6e9e [INFO] running `Command { std: "docker" "start" "-a" "afe2e6b351b6c6f57637e131761b87c17de46701d58c4dc0add174d67d2c6e9e", kill_on_drop: false }` [INFO] [stderr] Documenting compiler-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0010]: allocations are not allowed in constants [INFO] [stdout] --> src/automata.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | const RESERVED_WORDS: Vec<&str> = vec![ [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 11 | | "main", [INFO] [stdout] 12 | | "case", [INFO] [stdout] 13 | | "class", [INFO] [stdout] ... | [INFO] [stdout] 32 | | "public" [INFO] [stdout] 33 | | ]; [INFO] [stdout] | |_____^ allocation not allowed in constants [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0019]: constant contains unimplemented expression type [INFO] [stdout] --> src/automata.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | const RESERVED_WORDS: Vec<&str> = vec![ [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 11 | | "main", [INFO] [stdout] 12 | | "case", [INFO] [stdout] 13 | | "class", [INFO] [stdout] ... | [INFO] [stdout] 32 | | "public" [INFO] [stdout] 33 | | ]; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/automata.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | const RESERVED_WORDS: Vec<&str> = vec![ [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 11 | | "main", [INFO] [stdout] 12 | | "case", [INFO] [stdout] 13 | | "class", [INFO] [stdout] ... | [INFO] [stdout] 32 | | "public" [INFO] [stdout] 33 | | ]; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in constants [INFO] [stdout] --> src/automata.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | const DATA_TYPES: Vec<&str> = vec![ [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 36 | | "char", [INFO] [stdout] 37 | | "int", [INFO] [stdout] 38 | | "long", [INFO] [stdout] ... | [INFO] [stdout] 42 | | "bool", [INFO] [stdout] 43 | | ]; [INFO] [stdout] | |_____^ allocation not allowed in constants [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0019]: constant contains unimplemented expression type [INFO] [stdout] --> src/automata.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | const DATA_TYPES: Vec<&str> = vec![ [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 36 | | "char", [INFO] [stdout] 37 | | "int", [INFO] [stdout] 38 | | "long", [INFO] [stdout] ... | [INFO] [stdout] 42 | | "bool", [INFO] [stdout] 43 | | ]; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/automata.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | const DATA_TYPES: Vec<&str> = vec![ [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 36 | | "char", [INFO] [stdout] 37 | | "int", [INFO] [stdout] 38 | | "long", [INFO] [stdout] ... | [INFO] [stdout] 42 | | "bool", [INFO] [stdout] 43 | | ]; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0010, E0015, E0019. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stderr] error: Could not document `compiler-rs`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name compiler_rs 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 --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "afe2e6b351b6c6f57637e131761b87c17de46701d58c4dc0add174d67d2c6e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe2e6b351b6c6f57637e131761b87c17de46701d58c4dc0add174d67d2c6e9e", kill_on_drop: false }` [INFO] [stdout] afe2e6b351b6c6f57637e131761b87c17de46701d58c4dc0add174d67d2c6e9e