[INFO] fetching crate ftc_http 2.2.0... [INFO] checking ftc_http-2.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate ftc_http 2.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ftc_http 2.2.0 [INFO] finished tweaking crates.io crate ftc_http 2.2.0 [INFO] tweaked toml for crates.io crate ftc_http 2.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ftc_http 2.2.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ftc_http 2.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40f6e19041bb3bb336b5f48da77c17a6e09526b51f8e519d820c9c03e7f4d816 [INFO] running `Command { std: "docker" "start" "-a" "40f6e19041bb3bb336b5f48da77c17a6e09526b51f8e519d820c9c03e7f4d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40f6e19041bb3bb336b5f48da77c17a6e09526b51f8e519d820c9c03e7f4d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f6e19041bb3bb336b5f48da77c17a6e09526b51f8e519d820c9c03e7f4d816", kill_on_drop: false }` [INFO] [stdout] 40f6e19041bb3bb336b5f48da77c17a6e09526b51f8e519d820c9c03e7f4d816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d203899db59155bb5dd2afa6bcfda813a5812f8f6c21de010750fd2dfab8ebe5 [INFO] running `Command { std: "docker" "start" "-a" "d203899db59155bb5dd2afa6bcfda813a5812f8f6c21de010750fd2dfab8ebe5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking psl-types v2.0.7 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking indexmap v1.7.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking cookie_store v0.15.0 [INFO] [stderr] Checking confy v0.4.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking ftc_http v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `e` is not used by name [INFO] [stdout] --> src/robot/util.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | eprintln!($fmt, $($arg, )* e = err); [INFO] [stdout] | ^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / catch!( [INFO] [stdout] 90 | | confy::store("ftc_http", AppConfig::default()), [INFO] [stdout] 91 | | 1, [INFO] [stdout] 92 | | "Failed {} to save configuration to file. \n\n{e}" [INFO] [stdout] | | -- this formatting argument uses named argument `e` by position [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] = note: this warning originates in the macro `catch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] --> src/main.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | "Failed {e} to save configuration to file. \n\n{e}" [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `e` is not used by name [INFO] [stdout] --> src/robot/util.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | eprintln!($fmt, $($arg, )* e = err); [INFO] [stdout] | ^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / catch!( [INFO] [stdout] 122 | | confy::store("ftc_http", conf), [INFO] [stdout] 123 | | 1, [INFO] [stdout] 124 | | "Failed {} to save configuration to file. \n\n{e}" [INFO] [stdout] | | -- this formatting argument uses named argument `e` by position [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `catch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] --> src/main.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | "Failed {e} to save configuration to file. \n\n{e}" [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `e` is not used by name [INFO] [stdout] --> src/robot/util.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | eprintln!($fmt, $($arg, )* e = err); [INFO] [stdout] | ^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / catch!( [INFO] [stdout] 90 | | confy::store("ftc_http", AppConfig::default()), [INFO] [stdout] 91 | | 1, [INFO] [stdout] 92 | | "Failed {} to save configuration to file. \n\n{e}" [INFO] [stdout] | | -- this formatting argument uses named argument `e` by position [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] = note: this warning originates in the macro `catch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] --> src/main.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | "Failed {e} to save configuration to file. \n\n{e}" [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `e` is not used by name [INFO] [stdout] --> src/robot/util.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | eprintln!($fmt, $($arg, )* e = err); [INFO] [stdout] | ^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / catch!( [INFO] [stdout] 122 | | confy::store("ftc_http", conf), [INFO] [stdout] 123 | | 1, [INFO] [stdout] 124 | | "Failed {} to save configuration to file. \n\n{e}" [INFO] [stdout] | | -- this formatting argument uses named argument `e` by position [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `catch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] --> src/main.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | "Failed {e} to save configuration to file. \n\n{e}" [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / /// A list of directories used by the download and upload options. [INFO] [stdout] 56 | | /// [INFO] [stdout] 57 | | /// Between 0 and 2 directories can be specified. When -d and -u are used [INFO] [stdout] 58 | | /// together, the first directory is where files are downloaded and the [INFO] [stdout] 59 | | /// second is where they are uploaded from. [INFO] [stdout] 60 | | #[structopt(name = "DIRS")] [INFO] [stdout] 61 | | directories: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / /// Manually specify the address of the robot controller. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// Addresses are given in the form: "http://:" [INFO] [stdout] 65 | | #[structopt(long, name = "ADDR")] [INFO] [stdout] 66 | | host: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ftc_http` (bin "ftc_http" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / /// A list of directories used by the download and upload options. [INFO] [stdout] 56 | | /// [INFO] [stdout] 57 | | /// Between 0 and 2 directories can be specified. When -d and -u are used [INFO] [stdout] 58 | | /// together, the first directory is where files are downloaded and the [INFO] [stdout] 59 | | /// second is where they are uploaded from. [INFO] [stdout] 60 | | #[structopt(name = "DIRS")] [INFO] [stdout] 61 | | directories: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / /// Manually specify the address of the robot controller. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// Addresses are given in the form: "http://:" [INFO] [stdout] 65 | | #[structopt(long, name = "ADDR")] [INFO] [stdout] 66 | | host: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ftc_http` (bin "ftc_http") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d203899db59155bb5dd2afa6bcfda813a5812f8f6c21de010750fd2dfab8ebe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d203899db59155bb5dd2afa6bcfda813a5812f8f6c21de010750fd2dfab8ebe5", kill_on_drop: false }` [INFO] [stdout] d203899db59155bb5dd2afa6bcfda813a5812f8f6c21de010750fd2dfab8ebe5