[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] testing mreboland/rustReferenceSafety against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferenceSafety" "/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/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-2/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-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 936e8f295ee465f97feac6c040222bb6c1db0404f31e64fc2f7c86e518c7c9ce
[INFO] running `Command { std: "docker" "start" "-a" "936e8f295ee465f97feac6c040222bb6c1db0404f31e64fc2f7c86e518c7c9ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "936e8f295ee465f97feac6c040222bb6c1db0404f31e64fc2f7c86e518c7c9ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "936e8f295ee465f97feac6c040222bb6c1db0404f31e64fc2f7c86e518c7c9ce", kill_on_drop: false }`
[INFO] [stdout] 936e8f295ee465f97feac6c040222bb6c1db0404f31e64fc2f7c86e518c7c9ce
[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" "RUSTFLAGS=--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" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3552a6630849665204140963a099ee21b88e3318e40227c7b2776f32ac445eb2
[INFO] running `Command { std: "docker" "start" "-a" "3552a6630849665204140963a099ee21b88e3318e40227c7b2776f32ac445eb2", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] 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[E0106]: missing lifetime specifier
[INFO] [stdout]    --> src/main.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 |         r: &i32
[INFO] [stdout]     |            ^ expected named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout] 176 |     struct S<'a> {
[INFO] [stdout] 177 |         r: &'a i32
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 0 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/main.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 218 |         s: S<'static>
[INFO] [stdout]     |            ^--------- help: remove these generics
[INFO] [stdout]     |            |
[INFO] [stdout]     |            expected 0 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 0 lifetime parameters
[INFO] [stdout]    --> src/main.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 176 |     struct S {
[INFO] [stdout]     |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 0 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/main.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 |         s: S<'a>
[INFO] [stdout]     |            ^---- help: remove these generics
[INFO] [stdout]     |            |
[INFO] [stdout]     |            expected 0 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 0 lifetime parameters
[INFO] [stdout]    --> src/main.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 176 |     struct S {
[INFO] [stdout]     |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'b`
[INFO] [stdout]    --> src/main.rs:271:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |     struct S<'a, b> {
[INFO] [stdout]     |              - help: consider introducing lifetime `'b` here: `'b,`
[INFO] [stdout] 270 |         x: &'a i32,
[INFO] [stdout] 271 |         y: &'b i32
[INFO] [stdout]     |             ^^ undeclared lifetime
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 0 lifetime arguments but 2 lifetime arguments were supplied
[INFO] [stdout]    --> src/main.rs:295:44
[INFO] [stdout]     |
[INFO] [stdout] 295 |     fn sum_r_xy<'a, 'b, 'c>(r: &'a i32, s: S<'b, 'c>) -> i32 { ... }
[INFO] [stdout]     |                                            ^-------- help: remove these generics
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            expected 0 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 0 lifetime parameters
[INFO] [stdout]    --> src/main.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 176 |     struct S {
[INFO] [stdout]     |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0107, E0261, E0412, E0428, E0586.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `references-safety` due to 38 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3552a6630849665204140963a099ee21b88e3318e40227c7b2776f32ac445eb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3552a6630849665204140963a099ee21b88e3318e40227c7b2776f32ac445eb2", kill_on_drop: false }`
[INFO] [stdout] 3552a6630849665204140963a099ee21b88e3318e40227c7b2776f32ac445eb2
