[INFO] cloning repository https://github.com/tawashichan/type_inference_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tawashichan/type_inference_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Ftype_inference_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Ftype_inference_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f21fbdd75c702bc74c35ac2819fb139de122bbb0 [INFO] documenting tawashichan/type_inference_sample against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Ftype_inference_sample" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tawashichan/type_inference_sample 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 git repo https://github.com/tawashichan/type_inference_sample [INFO] finished tweaking git repo https://github.com/tawashichan/type_inference_sample [INFO] tweaked toml for git repo https://github.com/tawashichan/type_inference_sample written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/tawashichan/type_inference_sample already has a lockfile, it will not be regenerated [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] 11ccabfdc873faa11c1d2d0c7ec9f636f2c7e26d8af03e419b696916128da10a [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" "11ccabfdc873faa11c1d2d0c7ec9f636f2c7e26d8af03e419b696916128da10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11ccabfdc873faa11c1d2d0c7ec9f636f2c7e26d8af03e419b696916128da10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ccabfdc873faa11c1d2d0c7ec9f636f2c7e26d8af03e419b696916128da10a", kill_on_drop: false }` [INFO] [stdout] 11ccabfdc873faa11c1d2d0c7ec9f636f2c7e26d8af03e419b696916128da10a [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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 69310f2d327db782716bdfbc78d2a8dc31bf7efbe7cb616ca5a3b445c72248c1 [INFO] running `Command { std: "docker" "start" "-a" "69310f2d327db782716bdfbc78d2a8dc31bf7efbe7cb616ca5a3b445c72248c1", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking nanoid v0.1.3 [INFO] [stderr] Documenting type_inference v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns,box_syntax,slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/ast.rs:233:30 [INFO] [stdout] | [INFO] [stdout] 233 | [TypeEquation(t1,t2),rest..] if t1 == t2 => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/ast.rs:236:84 [INFO] [stdout] | [INFO] [stdout] 236 | [TypeEquation(Type::Func(box f1_a,box f1_b),Type::Func(box f2_a,box f2_b)),rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/ast.rs:240:45 [INFO] [stdout] | [INFO] [stdout] 240 | [TypeEquation(Type::TypeVar(v),typ),rest..] | [TypeEquation(typ,Type::TypeVar(v)),rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/ast.rs:240:91 [INFO] [stdout] | [INFO] [stdout] 240 | [TypeEquation(Type::TypeVar(v),typ),rest..] | [TypeEquation(typ,Type::TypeVar(v)),rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/lexer.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | [first, rest..] => match first { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/lexer.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | [first, rest..] if first.is_alphabetic() || first.is_numeric() || *first == '\'' => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/lexer.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | [first, rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/lexer.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | [first, rest..] => match first { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/lexer.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | ['>', res..] => (Token::RARROW, res), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/lexer.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | [':',res..] => (Token::JOINER, res), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | [Token::PLUS, res..] => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | [Token::LET, Token::VAR(s), Token::EQUAL, rest..] => parse_exp(rest), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | [Token::RPAR, res..] => Ok((exp, rest)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | [Token::IN, res..] => Ok((exp, rest)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | [Token::LT, res..] => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | [Token::EQUAL,res..] => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | [Token::MINUS,res..] => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | [Token::LPAR, rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | [Token::RPAR, re..] => Ok((exp, re)), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | [Token::INT(i), rest..] => Ok((Exp::Int(*i), rest)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | [Token::VAR(s), rest..] => Ok((Exp::Var(s.clone()), rest)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | [Token::TRUE, rest..] => Ok((Exp::Bool(true), rest)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | [Token::FALSE, rest..] => Ok((Exp::Bool(false), rest)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | [Token::LET, Token::REC, rest..] => parse_let_rec(tokens), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | [Token::IF, rest..] => parse_if(tokens), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | [Token::FUNCTION, rest..] => parse_fun(tokens), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 74 | [Token::FUNCTION, Token::VAR(s), Token::RARROW, rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:84:57 [INFO] [stdout] | [INFO] [stdout] 84 | [Token::FUNCTION, Token::VAR(s), Token::RARROW, rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:94:63 [INFO] [stdout] | [INFO] [stdout] 94 | [Token::LET, Token::REC, Token::VAR(s), Token::EQUAL, rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | [Token::IN, re..] => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | [Token::IF, rest..] => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | [Token::THEN, re..] => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/parser.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 123 | [Token::ELSE, rr..] => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: Could not document `type_inference`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name type_inference 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 nanoid=/opt/rustwide/target/debug/deps/libnanoid-920db28d60e40e0e.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "69310f2d327db782716bdfbc78d2a8dc31bf7efbe7cb616ca5a3b445c72248c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69310f2d327db782716bdfbc78d2a8dc31bf7efbe7cb616ca5a3b445c72248c1", kill_on_drop: false }` [INFO] [stdout] 69310f2d327db782716bdfbc78d2a8dc31bf7efbe7cb616ca5a3b445c72248c1