[INFO] cloning repository https://github.com/mreboland/rustReferenceSafety [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustReferenceSafety" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferenceSafety", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferenceSafety'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37d51535d9c98084128a8a12d65cb8dedafef272 [INFO] documenting mreboland/rustReferenceSafety 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%2Fmreboland%2FrustReferenceSafety" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustReferenceSafety 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/mreboland/rustReferenceSafety [INFO] finished tweaking git repo https://github.com/mreboland/rustReferenceSafety [INFO] tweaked toml for git repo https://github.com/mreboland/rustReferenceSafety written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustReferenceSafety 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-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 22c53f849a69a121d7812f10b522b931da9fe68d53213eae7afa998652f67b4f [INFO] running `Command { std: "docker" "start" "-a" "22c53f849a69a121d7812f10b522b931da9fe68d53213eae7afa998652f67b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22c53f849a69a121d7812f10b522b931da9fe68d53213eae7afa998652f67b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c53f849a69a121d7812f10b522b931da9fe68d53213eae7afa998652f67b4f", kill_on_drop: false }` [INFO] [stdout] 22c53f849a69a121d7812f10b522b931da9fe68d53213eae7afa998652f67b4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 2afcb334fa2e8b76f5e890fdd2c48ca7970255e0508b4f220fe0d14fdcbd0c8a [INFO] running `Command { std: "docker" "start" "-a" "2afcb334fa2e8b76f5e890fdd2c48ca7970255e0508b4f220fe0d14fdcbd0c8a", kill_on_drop: false }` [INFO] [stderr] Documenting references-safety v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | fn g<'a>(p: &'a i32) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 118 | fn g<'a>(p: &'a i32) { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 118 | fn g<'a>(p: &'a i32) { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | fn g<'a>(p: &'a i32) { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | fn f(p: &'static i32) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 128 | fn f(p: &'static i32) { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 128 | fn f(p: &'static i32) { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | fn f(p: &'static i32) { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | fn smallest<'a>(v: &'a [i32]) -> &'a i32 { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 152 | fn smallest<'a>(v: &'a [i32]) -> &'a i32 { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 152 | fn smallest<'a>(v: &'a [i32]) -> &'a i32 { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | fn smallest<'a>(v: &'a [i32]) -> &'a i32 { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:231:58 [INFO] [stdout] | [INFO] [stdout] 231 | fn parse_record<'i>(input: &'i [u9]) -> Record<'i> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 231 | fn parse_record<'i>(input: &'i [u9]) -> Record<'i> { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 231 | fn parse_record<'i>(input: &'i [u9]) -> Record<'i> { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:231:58 [INFO] [stdout] | [INFO] [stdout] 231 | fn parse_record<'i>(input: &'i [u9]) -> Record<'i> { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:295:64 [INFO] [stdout] | [INFO] [stdout] 295 | fn sum_r_xy<'a, 'b, 'c>(r: &'a i32, s: S<'b, 'c>) -> i32 { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 295 | fn sum_r_xy<'a, 'b, 'c>(r: &'a i32, s: S<'b, 'c>) -> i32 { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 295 | fn sum_r_xy<'a, 'b, 'c>(r: &'a i32, s: S<'b, 'c>) -> i32 { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:295:64 [INFO] [stdout] | [INFO] [stdout] 295 | fn sum_r_xy<'a, 'b, 'c>(r: &'a i32, s: S<'b, 'c>) -> i32 { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:302:69 [INFO] [stdout] | [INFO] [stdout] 302 | fn first_third<'a>(point: &'a [i32; 3]) -> (&'a i32, &'a i32) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 302 | fn first_third<'a>(point: &'a [i32; 3]) -> (&'a i32, &'a i32) { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 302 | fn first_third<'a>(point: &'a [i32; 3]) -> (&'a i32, &'a i32) { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:302:69 [INFO] [stdout] | [INFO] [stdout] 302 | fn first_third<'a>(point: &'a [i32; 3]) -> (&'a i32, &'a i32) { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}` [INFO] [stdout] --> src/main.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 326 | fn find_by_prefix<'a, 'b>(&'a self, prefix: &'b str) -> Option<&'a String> [INFO] [stdout] | -------------- while parsing this `fn` - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] ... [INFO] [stdout] 336 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `STASH` is defined multiple times [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 71 | static mut STASH: &i32 = &128; [INFO] [stdout] | ------------------------------ previous definition of the value `STASH` here [INFO] [stdout] ... [INFO] [stdout] 92 | static mut STASH: &i32 = &10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `STASH` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `STASH` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `f` is defined multiple times [INFO] [stdout] --> src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(p: &i32) { // still not good enough [INFO] [stdout] | ------------- previous definition of the value `f` here [INFO] [stdout] ... [INFO] [stdout] 94 | fn f(p: &'static i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `f` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `f` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `f` is defined multiple times [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(p: &i32) { // still not good enough [INFO] [stdout] | ------------- previous definition of the value `f` here [INFO] [stdout] ... [INFO] [stdout] 128 | fn f(p: &'static i32) { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `f` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `f` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `smallest` is defined multiple times [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 142 | fn smallest(v: &[i32]) -> i32 { [INFO] [stdout] | ----------------------------- previous definition of the value `smallest` here [INFO] [stdout] ... [INFO] [stdout] 152 | fn smallest<'a>(v: &'a [i32]) -> &'a i32 { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `smallest` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `smallest` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `S` is defined multiple times [INFO] [stdout] --> src/main.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct S { [INFO] [stdout] | -------- previous definition of the type `S` here [INFO] [stdout] ... [INFO] [stdout] 193 | struct S { [INFO] [stdout] | ^^^^^^^^ `S` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `S` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `S` is defined multiple times [INFO] [stdout] --> src/main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct S { [INFO] [stdout] | -------- previous definition of the type `S` here [INFO] [stdout] ... [INFO] [stdout] 197 | struct S<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ `S` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `S` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `T` is defined multiple times [INFO] [stdout] --> src/main.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct T { [INFO] [stdout] | -------- previous definition of the type `T` here [INFO] [stdout] ... [INFO] [stdout] 217 | struct T { [INFO] [stdout] | ^^^^^^^^ `T` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `T` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `T` is defined multiple times [INFO] [stdout] --> src/main.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct T { [INFO] [stdout] | -------- previous definition of the type `T` here [INFO] [stdout] ... [INFO] [stdout] 223 | struct T<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ `T` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `T` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `S` is defined multiple times [INFO] [stdout] --> src/main.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct S { [INFO] [stdout] | -------- previous definition of the type `S` here [INFO] [stdout] ... [INFO] [stdout] 243 | struct S<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ `S` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `S` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `S` is defined multiple times [INFO] [stdout] --> src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct S { [INFO] [stdout] | -------- previous definition of the type `S` here [INFO] [stdout] ... [INFO] [stdout] 269 | struct S<'a, b> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `S` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `S` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `f` is defined multiple times [INFO] [stdout] --> src/main.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(p: &i32) { // still not good enough [INFO] [stdout] | ------------- previous definition of the value `f` here [INFO] [stdout] ... [INFO] [stdout] 276 | fn f<'a>(r: &'a i32, s: &'a i32) -> &'a i32 { r } // perhaps to tight [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `f` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `f` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `f` is defined multiple times [INFO] [stdout] --> src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(p: &i32) { // still not good enough [INFO] [stdout] | ------------- previous definition of the value `f` here [INFO] [stdout] ... [INFO] [stdout] 278 | fn f<'a, 'b>(r: &'a i32, s: &'b i32) -> &'a i32 { r } // looser [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `f` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `f` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `S` is defined multiple times [INFO] [stdout] --> src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct S { [INFO] [stdout] | -------- previous definition of the type `S` here [INFO] [stdout] ... [INFO] [stdout] 286 | struct S<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `S` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `S` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `sum_r_xy` is defined multiple times [INFO] [stdout] --> src/main.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 291 | fn sum_r_xy(r: &i32, s: S) -> i32 { [INFO] [stdout] | --------------------------------- previous definition of the value `sum_r_xy` here [INFO] [stdout] ... [INFO] [stdout] 295 | fn sum_r_xy<'a, 'b, 'c>(r: &'a i32, s: S<'b, 'c>) -> i32 { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sum_r_xy` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `sum_r_xy` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `first_third` is defined multiple times [INFO] [stdout] --> src/main.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 298 | fn first_third(point: &[i32; 3]) -> (&i32, &i32) { [INFO] [stdout] | ------------------------------------------------ previous definition of the value `first_third` here [INFO] [stdout] ... [INFO] [stdout] 302 | fn first_third<'a>(point: &'a [i32; 3]) -> (&'a i32, &'a i32) { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `first_third` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `first_third` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/main.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | fn find_by_prefix<'a, 'b>(&'a self, prefix: &'b str) -> Option<&'a String> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | fn find_by_prefix<'a, 'b>(&'a self, prefix: &'b str) -> Option<&'a String> [INFO] [stdout] | ^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `u9` in this scope [INFO] [stdout] --> src/main.rs:231:37 [INFO] [stdout] | [INFO] [stdout] 231 | fn parse_record<'i>(input: &'i [u9]) -> Record<'i> { ... } [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Record` in this scope [INFO] [stdout] --> src/main.rs:231:45 [INFO] [stdout] | [INFO] [stdout] 231 | fn parse_record<'i>(input: &'i [u9]) -> Record<'i> { ... } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `b` should have an upper camel case name [INFO] [stdout] --> src/main.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | struct S<'a, b> { [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0428, E0586. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `references-safety` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name references_safety src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=24e6dd2f6567cac2 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "2afcb334fa2e8b76f5e890fdd2c48ca7970255e0508b4f220fe0d14fdcbd0c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afcb334fa2e8b76f5e890fdd2c48ca7970255e0508b4f220fe0d14fdcbd0c8a", kill_on_drop: false }` [INFO] [stdout] 2afcb334fa2e8b76f5e890fdd2c48ca7970255e0508b4f220fe0d14fdcbd0c8a