[INFO] cloning repository https://github.com/aphexcreations/rustls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aphexcreations/rustls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faphexcreations%2Frustls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faphexcreations%2Frustls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50a4e97bac467e416dcef28966e1fa2668fc9509 [INFO] checking aphexcreations/rustls against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faphexcreations%2Frustls" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aphexcreations/rustls on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aphexcreations/rustls [INFO] finished tweaking git repo https://github.com/aphexcreations/rustls [INFO] tweaked toml for git repo https://github.com/aphexcreations/rustls written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/aphexcreations/rustls already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", 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] d827398400b7c3af2cf71b4b96eb7e943b046905550689a5d99b9fb4d9c741ca [INFO] running `Command { std: "docker" "start" "-a" "d827398400b7c3af2cf71b4b96eb7e943b046905550689a5d99b9fb4d9c741ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d827398400b7c3af2cf71b4b96eb7e943b046905550689a5d99b9fb4d9c741ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d827398400b7c3af2cf71b4b96eb7e943b046905550689a5d99b9fb4d9c741ca", kill_on_drop: false }` [INFO] [stdout] d827398400b7c3af2cf71b4b96eb7e943b046905550689a5d99b9fb4d9c741ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29710115b714018e2cc60f60f8dbd47e11892fa2561db6b2e26cc017c87e2f5a [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" "29710115b714018e2cc60f60f8dbd47e11892fa2561db6b2e26cc017c87e2f5a", kill_on_drop: false }` [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking rustls v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/main.rs:796:44 [INFO] [stdout] | [INFO] [stdout] 796 | out = text.join([COLORS[color], COLORS['end']]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `str` literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 796 | out = text.join([COLORS[color], COLORS["end"]]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:785:6 [INFO] [stdout] | [INFO] [stdout] 785 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 786 | let padlen: u8 = get_colpadding_field(field, colpaddings); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `return` [INFO] [stdout] --> src/main.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 796 | out = text.join([COLORS[color], COLORS['end']]) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 797 | return out; [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> src/main.rs:825:31 [INFO] [stdout] | [INFO] [stdout] 825 | let func = |name: u8| -> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a literal [INFO] [stdout] --> src/main.rs:789:50 [INFO] [stdout] | [INFO] [stdout] 789 | let padstr: &'static str = concat!("{", ":", &alignchar, &padlenstr, "s", "}"); [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:790:31 [INFO] [stdout] | [INFO] [stdout] 790 | let ret: String = format!(&fmt, &val); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 790 | let ret: String = format!("{} {}", &fmt, &val); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::SliceConcatExt` [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use std::slice::{SliceConcatExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `SliceConcatExt` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `col` in this scope [INFO] [stdout] --> src/main.rs:663:15 [INFO] [stdout] | [INFO] [stdout] 663 | return Ok(col); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLRDEF_OWNER` in this scope [INFO] [stdout] --> src/main.rs:689:24 [INFO] [stdout] | [INFO] [stdout] 46 | const COLDEF_OWNER: u8 = 7; [INFO] [stdout] | --------------------------- similarly named constant `COLDEF_OWNER` defined here [INFO] [stdout] ... [INFO] [stdout] 689 | else if (coldef == CLRDEF_OWNER) { [INFO] [stdout] | ^^^^^^^^^^^^ help: a constant with a similar name exists: `COLDEF_OWNER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `val` in this scope [INFO] [stdout] --> src/main.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 701 | return Ok(val); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcoldefs` in this scope [INFO] [stdout] --> src/main.rs:809:19 [INFO] [stdout] | [INFO] [stdout] 622 | fn getcolefs (row: &Row, field: u8) -> Result { [INFO] [stdout] | -------------------------------------------------------- similarly named function `getcolefs` defined here [INFO] [stdout] ... [INFO] [stdout] 809 | let col: u8 = getcoldefs(row, field).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `getcolefs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:774:13 [INFO] [stdout] | [INFO] [stdout] 771 | val: &String, [INFO] [stdout] | ------- [INFO] [stdout] 772 | colpaddings: &RowPadding, [INFO] [stdout] | ----------- [INFO] [stdout] 773 | align: u8 [INFO] [stdout] 774 | ) -> Result<&String, Error> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `val` or `colpaddings` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 769 | fn addpadding<'a> ( [INFO] [stdout] 770 | field: u8, [INFO] [stdout] 771 | val: &'a String, [INFO] [stdout] 772 | colpaddings: &'a RowPadding, [INFO] [stdout] 773 | align: u8 [INFO] [stdout] 774 | ) -> Result<&'a String, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 802 | row: &Row, [INFO] [stdout] | ---- [INFO] [stdout] 803 | field: u8, [INFO] [stdout] 804 | colpaddings: &RowPadding, [INFO] [stdout] | ----------- [INFO] [stdout] 805 | fdefs: &AllRowDefs [INFO] [stdout] | ----------- [INFO] [stdout] 806 | ) -> Result<&String, Error> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `row`, `colpaddings`, or `fdefs` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 801 | fn makepretty<'a> ( [INFO] [stdout] 802 | row: &'a Row, [INFO] [stdout] 803 | field: u8, [INFO] [stdout] 804 | colpaddings: &'a RowPadding, [INFO] [stdout] 805 | fdefs: &'a AllRowDefs [INFO] [stdout] 806 | ) -> Result<&'a String, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/main.rs:796:44 [INFO] [stdout] | [INFO] [stdout] 796 | out = text.join([COLORS[color], COLORS['end']]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `str` literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 796 | out = text.join([COLORS[color], COLORS["end"]]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:785:6 [INFO] [stdout] | [INFO] [stdout] 785 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 786 | let padlen: u8 = get_colpadding_field(field, colpaddings); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `return` [INFO] [stdout] --> src/main.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 796 | out = text.join([COLORS[color], COLORS['end']]) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 797 | return out; [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> src/main.rs:825:31 [INFO] [stdout] | [INFO] [stdout] 825 | let func = |name: u8| -> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a literal [INFO] [stdout] --> src/main.rs:789:50 [INFO] [stdout] | [INFO] [stdout] 789 | let padstr: &'static str = concat!("{", ":", &alignchar, &padlenstr, "s", "}"); [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:790:31 [INFO] [stdout] | [INFO] [stdout] 790 | let ret: String = format!(&fmt, &val); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 790 | let ret: String = format!("{} {}", &fmt, &val); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::SliceConcatExt` [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use std::slice::{SliceConcatExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `SliceConcatExt` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `col` in this scope [INFO] [stdout] --> src/main.rs:663:15 [INFO] [stdout] | [INFO] [stdout] 663 | return Ok(col); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLRDEF_OWNER` in this scope [INFO] [stdout] --> src/main.rs:689:24 [INFO] [stdout] | [INFO] [stdout] 46 | const COLDEF_OWNER: u8 = 7; [INFO] [stdout] | --------------------------- similarly named constant `COLDEF_OWNER` defined here [INFO] [stdout] ... [INFO] [stdout] 689 | else if (coldef == CLRDEF_OWNER) { [INFO] [stdout] | ^^^^^^^^^^^^ help: a constant with a similar name exists: `COLDEF_OWNER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `val` in this scope [INFO] [stdout] --> src/main.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 701 | return Ok(val); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcoldefs` in this scope [INFO] [stdout] --> src/main.rs:809:19 [INFO] [stdout] | [INFO] [stdout] 622 | fn getcolefs (row: &Row, field: u8) -> Result { [INFO] [stdout] | -------------------------------------------------------- similarly named function `getcolefs` defined here [INFO] [stdout] ... [INFO] [stdout] 809 | let col: u8 = getcoldefs(row, field).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `getcolefs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:774:13 [INFO] [stdout] | [INFO] [stdout] 771 | val: &String, [INFO] [stdout] | ------- [INFO] [stdout] 772 | colpaddings: &RowPadding, [INFO] [stdout] | ----------- [INFO] [stdout] 773 | align: u8 [INFO] [stdout] 774 | ) -> Result<&String, Error> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `val` or `colpaddings` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 769 | fn addpadding<'a> ( [INFO] [stdout] 770 | field: u8, [INFO] [stdout] 771 | val: &'a String, [INFO] [stdout] 772 | colpaddings: &'a RowPadding, [INFO] [stdout] 773 | align: u8 [INFO] [stdout] 774 | ) -> Result<&'a String, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 802 | row: &Row, [INFO] [stdout] | ---- [INFO] [stdout] 803 | field: u8, [INFO] [stdout] 804 | colpaddings: &RowPadding, [INFO] [stdout] | ----------- [INFO] [stdout] 805 | fdefs: &AllRowDefs [INFO] [stdout] | ----------- [INFO] [stdout] 806 | ) -> Result<&String, Error> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `row`, `colpaddings`, or `fdefs` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 801 | fn makepretty<'a> ( [INFO] [stdout] 802 | row: &'a Row, [INFO] [stdout] 803 | field: u8, [INFO] [stdout] 804 | colpaddings: &'a RowPadding, [INFO] [stdout] 805 | fdefs: &'a AllRowDefs [INFO] [stdout] 806 | ) -> Result<&'a String, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:499:20 [INFO] [stdout] | [INFO] [stdout] 499 | longest.insert(FIELDNAME_ACLS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:500:20 [INFO] [stdout] | [INFO] [stdout] 500 | longest.insert(FIELDNAME_OWNER, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:501:20 [INFO] [stdout] | [INFO] [stdout] 501 | longest.insert(FIELDNAME_FILETYPE, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | longest.insert(FIELDNAME_SIZE, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:503:20 [INFO] [stdout] | [INFO] [stdout] 503 | longest.insert(FIELDNAME_TIMEISO, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:504:20 [INFO] [stdout] | [INFO] [stdout] 504 | longest.insert(FIELDNAME_SRCNAME, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:505:20 [INFO] [stdout] | [INFO] [stdout] 505 | longest.insert(FIELDNAME_TARGETNAME, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:499:20 [INFO] [stdout] | [INFO] [stdout] 499 | longest.insert(FIELDNAME_ACLS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:506:20 [INFO] [stdout] | [INFO] [stdout] 506 | longest.insert(FIELDNAME_PREVIEW, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:516:46 [INFO] [stdout] | [INFO] [stdout] 516 | if let Some(x) = longest.get_mut(colname) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&colname` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:533:33 [INFO] [stdout] | [INFO] [stdout] 533 | acls: match longest.get(FIELDNAME_ACLS) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_ACLS` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:537:34 [INFO] [stdout] | [INFO] [stdout] 537 | owner: match longest.get(FIELDNAME_OWNER) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_OWNER` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:541:37 [INFO] [stdout] | [INFO] [stdout] 541 | filetype: match longest.get(FIELDNAME_FILETYPE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_FILETYPE` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | size: match longest.get(FIELDNAME_SIZE) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_SIZE` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:549:36 [INFO] [stdout] | [INFO] [stdout] 549 | timeiso: match longest.get(FIELDNAME_TIMEISO) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_TIMEISO` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:553:36 [INFO] [stdout] | [INFO] [stdout] 553 | srcname: match longest.get(FIELDNAME_SRCNAME) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_SRCNAME` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 557 | targetname: match longest.get(FIELDNAME_TARGETNAME) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_TARGETNAME` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:561:36 [INFO] [stdout] | [INFO] [stdout] 561 | preview: match longest.get(FIELDNAME_PREVIEW) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_PREVIEW` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:500:20 [INFO] [stdout] | [INFO] [stdout] 500 | longest.insert(FIELDNAME_OWNER, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:776:19 [INFO] [stdout] | [INFO] [stdout] 776 | return Ok(" ".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&String`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&" ".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:501:20 [INFO] [stdout] | [INFO] [stdout] 501 | longest.insert(FIELDNAME_FILETYPE, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:786:22 [INFO] [stdout] | [INFO] [stdout] 786 | let padlen: u8 = get_colpadding_field(field, colpaddings); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `std::result::Result` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | longest.insert(FIELDNAME_SIZE, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 774 | ) -> Result<&String, Error> { [INFO] [stdout] | ---------------------- expected because this return type... [INFO] [stdout] 775 | if val.len() == 0 { [INFO] [stdout] 776 | return Ok(" ".to_string()) [INFO] [stdout] | ------------------- ...is found to be `std::result::Result<&'static String, std::io::Error>` here [INFO] [stdout] ... [INFO] [stdout] 791 | return ret [INFO] [stdout] | ^^^ expected enum `std::result::Result`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<&'static String, std::io::Error>` [INFO] [stdout] found struct `String` [INFO] [stdout] = note: to return `impl Trait`, all returned values must be of the same type [INFO] [stdout] = note: for information on `impl Trait`, see [INFO] [stdout] = help: you could instead create a new `enum` with a variant for each returned type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:807:31 [INFO] [stdout] | [INFO] [stdout] 590 | / fn get_field_from_fdefs ( [INFO] [stdout] 591 | | field: u8, [INFO] [stdout] 592 | | fdefs: &AllRowDefs [INFO] [stdout] 593 | | ) -> Result<&RowDef, Error> { [INFO] [stdout] | |___________________________- defined here [INFO] [stdout] ... [INFO] [stdout] 807 | let fdef_field: &RowDef = get_field_from_fdefs(field).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:503:20 [INFO] [stdout] | [INFO] [stdout] 503 | longest.insert(FIELDNAME_TIMEISO, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:812:30 [INFO] [stdout] | [INFO] [stdout] 812 | let paddedval: &String = addpadding(field, textval, colpaddings, align); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found enum `std::result::Result` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found enum `std::result::Result<&'static String, std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0106, E0308, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:504:20 [INFO] [stdout] | [INFO] [stdout] 504 | longest.insert(FIELDNAME_SRCNAME, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:505:20 [INFO] [stdout] | [INFO] [stdout] 505 | longest.insert(FIELDNAME_TARGETNAME, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:506:20 [INFO] [stdout] | [INFO] [stdout] 506 | longest.insert(FIELDNAME_PREVIEW, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&str`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:516:46 [INFO] [stdout] | [INFO] [stdout] 516 | if let Some(x) = longest.get_mut(colname) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&colname` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:533:33 [INFO] [stdout] | [INFO] [stdout] 533 | acls: match longest.get(FIELDNAME_ACLS) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_ACLS` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:537:34 [INFO] [stdout] | [INFO] [stdout] 537 | owner: match longest.get(FIELDNAME_OWNER) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_OWNER` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:541:37 [INFO] [stdout] | [INFO] [stdout] 541 | filetype: match longest.get(FIELDNAME_FILETYPE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_FILETYPE` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | size: match longest.get(FIELDNAME_SIZE) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_SIZE` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:549:36 [INFO] [stdout] | [INFO] [stdout] 549 | timeiso: match longest.get(FIELDNAME_TIMEISO) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_TIMEISO` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:553:36 [INFO] [stdout] | [INFO] [stdout] 553 | srcname: match longest.get(FIELDNAME_SRCNAME) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_SRCNAME` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 557 | targetname: match longest.get(FIELDNAME_TARGETNAME) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_TARGETNAME` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:561:36 [INFO] [stdout] | [INFO] [stdout] 561 | preview: match longest.get(FIELDNAME_PREVIEW) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&FIELDNAME_PREVIEW` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:776:19 [INFO] [stdout] | [INFO] [stdout] 776 | return Ok(" ".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&String`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&" ".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:786:22 [INFO] [stdout] | [INFO] [stdout] 786 | let padlen: u8 = get_colpadding_field(field, colpaddings); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `std::result::Result` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 774 | ) -> Result<&String, Error> { [INFO] [stdout] | ---------------------- expected because this return type... [INFO] [stdout] 775 | if val.len() == 0 { [INFO] [stdout] 776 | return Ok(" ".to_string()) [INFO] [stdout] | ------------------- ...is found to be `std::result::Result<&'static String, std::io::Error>` here [INFO] [stdout] ... [INFO] [stdout] 791 | return ret [INFO] [stdout] | ^^^ expected enum `std::result::Result`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<&'static String, std::io::Error>` [INFO] [stdout] found struct `String` [INFO] [stdout] = note: to return `impl Trait`, all returned values must be of the same type [INFO] [stdout] = note: for information on `impl Trait`, see [INFO] [stdout] = help: you could instead create a new `enum` with a variant for each returned type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:807:31 [INFO] [stdout] | [INFO] [stdout] 590 | / fn get_field_from_fdefs ( [INFO] [stdout] 591 | | field: u8, [INFO] [stdout] 592 | | fdefs: &AllRowDefs [INFO] [stdout] 593 | | ) -> Result<&RowDef, Error> { [INFO] [stdout] | |___________________________- defined here [INFO] [stdout] ... [INFO] [stdout] 807 | let fdef_field: &RowDef = get_field_from_fdefs(field).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:812:30 [INFO] [stdout] | [INFO] [stdout] 812 | let paddedval: &String = addpadding(field, textval, colpaddings, align); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found enum `std::result::Result` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found enum `std::result::Result<&'static String, std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0106, E0308, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "29710115b714018e2cc60f60f8dbd47e11892fa2561db6b2e26cc017c87e2f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29710115b714018e2cc60f60f8dbd47e11892fa2561db6b2e26cc017c87e2f5a", kill_on_drop: false }` [INFO] [stdout] 29710115b714018e2cc60f60f8dbd47e11892fa2561db6b2e26cc017c87e2f5a