[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 beta-2021-08-01 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferenceSafety" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mreboland/rustReferenceSafety on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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-4/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" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8bea8a3efd0ef668bf6f38f34fd1504be47746cdbe4e0b05c9d24d59c0c3f7e3
[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" "8bea8a3efd0ef668bf6f38f34fd1504be47746cdbe4e0b05c9d24d59c0c3f7e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bea8a3efd0ef668bf6f38f34fd1504be47746cdbe4e0b05c9d24d59c0c3f7e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bea8a3efd0ef668bf6f38f34fd1504be47746cdbe4e0b05c9d24d59c0c3f7e3", kill_on_drop: false }`
[INFO] [stdout] 8bea8a3efd0ef668bf6f38f34fd1504be47746cdbe4e0b05c9d24d59c0c3f7e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "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] 16cc0083f245f7644cd2f332f5f1d297c5fddd96907dc1174de79dd17b241ff9
[INFO] running `Command { std: "docker" "start" "-a" "16cc0083f245f7644cd2f332f5f1d297c5fddd96907dc1174de79dd17b241ff9", 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]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                              |
[INFO] [stdout]     |                                                                              help: provide a definition for the function: `{ <body> }`
[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] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 33 previous errors
[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 --document-private-items -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "16cc0083f245f7644cd2f332f5f1d297c5fddd96907dc1174de79dd17b241ff9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16cc0083f245f7644cd2f332f5f1d297c5fddd96907dc1174de79dd17b241ff9", kill_on_drop: false }`
[INFO] [stdout] 16cc0083f245f7644cd2f332f5f1d297c5fddd96907dc1174de79dd17b241ff9
