[INFO] cloning repository https://github.com/jroesch/stg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jroesch/stg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjroesch%2Fstg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjroesch%2Fstg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 461e71964daf4893a4c33cd742bd7c54e21f5012 [INFO] documenting jroesch/stg against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjroesch%2Fstg" "/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/jroesch/stg on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jroesch/stg [INFO] finished tweaking git repo https://github.com/jroesch/stg [INFO] tweaked toml for git repo https://github.com/jroesch/stg written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/jroesch/stg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b30923cfd934d99a55d95c25c367bb014260d92dcc8c926a8ea97c673029dc4 [INFO] running `Command { std: "docker" "start" "-a" "8b30923cfd934d99a55d95c25c367bb014260d92dcc8c926a8ea97c673029dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b30923cfd934d99a55d95c25c367bb014260d92dcc8c926a8ea97c673029dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b30923cfd934d99a55d95c25c367bb014260d92dcc8c926a8ea97c673029dc4", kill_on_drop: false }` [INFO] [stdout] 8b30923cfd934d99a55d95c25c367bb014260d92dcc8c926a8ea97c673029dc4 [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" "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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68238e0ecae556302030eb74663e7c426274f8fb54bcbd307c231d0f16dc0d4c [INFO] running `Command { std: "docker" "start" "-a" "68238e0ecae556302030eb74663e7c426274f8fb54bcbd307c231d0f16dc0d4c", kill_on_drop: false }` [INFO] [stderr] Documenting stg v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/machine/mod.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | debug!("Rule: LET") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 72 | let x_prime = self.allocate(obj); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `subst` [INFO] [stdout] --> src/machine/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod subst; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `subst`, create file "src/machine/subst.rs" or "src/machine/subst/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/machine/scope.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | let mut binding_range = range(0u, bindings.len()); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `&'a mut Writer` [INFO] [stdout] --> src/pretty.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub buf: &'a mut Writer + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try adding parentheses: `&'a mut (Writer + 'a)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hashmap` [INFO] [stdout] --> src/machine/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hashmap::HashMap; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hashmap` [INFO] [stdout] --> src/machine/scope.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hashmap::HashMap; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::MemWriter` [INFO] [stdout] --> src/pretty.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{IoResult, MemWriter}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ no `MemWriter` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Result, MemWriter}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{IoResult, BufWriter}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/pretty.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{rt, Show}; [INFO] [stdout] | ^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::fmt::FormatWriter` [INFO] [stdout] --> src/pretty.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::{FormatWriter}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `FormatWriter` in `fmt` [INFO] [stdout] | help: a similar name exists in the module: `Formatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[deriving(Clone, PartialEq, Eq, Show, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[deriving(Clone, PartialEq, Eq, Show, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[deriving(Clone, PartialEq, Eq, Show, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/machine/mod.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | fail!("Variable not defined: {}", var); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/machine/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | debug!("Rule: LET") [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/machine/mod.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | debug!("Rule: LET"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/machine/mod.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... debug!("UPDATE"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | _ => { fail!("not impl") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | _ => { fail!("not impl") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | EPrimOp(..) => fail!("Ignored for now.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | _ => fail!("Runtime error") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/ast.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | IntLit(int), [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Alignment` in module `rt` [INFO] [stdout] --> src/pretty.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub align: rt::Alignment, [INFO] [stdout] | ^^^^^^^^^ not found in `rt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Alignment; [INFO] [stdout] | [INFO] [stdout] 1 | use pretty::rt::v1::Alignment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pretty.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Printer<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 12 | pub width: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pretty.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Printer<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 14 | pub precision: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/pretty.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub buf: &'a mut Writer + 'a, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/machine/mod.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | self.eval(ECase(box EAtom(value), alts)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0178, E0412, E0432, E0463, E0554, E0583, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0178`. [INFO] [stdout] [INFO] [stderr] error: could not document `stg` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name stg src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=091b387eb7a18c9b -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "68238e0ecae556302030eb74663e7c426274f8fb54bcbd307c231d0f16dc0d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68238e0ecae556302030eb74663e7c426274f8fb54bcbd307c231d0f16dc0d4c", kill_on_drop: false }` [INFO] [stdout] 68238e0ecae556302030eb74663e7c426274f8fb54bcbd307c231d0f16dc0d4c