[INFO] cloning repository https://github.com/uvNikita/converter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uvNikita/converter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuvNikita%2Fconverter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuvNikita%2Fconverter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c95c7c807539a58b4c2d608135183925bb30fb2 [INFO] checking uvNikita/converter against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuvNikita%2Fconverter" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uvNikita/converter on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uvNikita/converter [INFO] finished tweaking git repo https://github.com/uvNikita/converter [INFO] tweaked toml for git repo https://github.com/uvNikita/converter written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/uvNikita/converter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51081df4aeca3a09056c3e2ae2acef547e6c6ac2a38e83f66daeaca5877e4f6f [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" "51081df4aeca3a09056c3e2ae2acef547e6c6ac2a38e83f66daeaca5877e4f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51081df4aeca3a09056c3e2ae2acef547e6c6ac2a38e83f66daeaca5877e4f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51081df4aeca3a09056c3e2ae2acef547e6c6ac2a38e83f66daeaca5877e4f6f", kill_on_drop: false }` [INFO] [stdout] 51081df4aeca3a09056c3e2ae2acef547e6c6ac2a38e83f66daeaca5877e4f6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b179645e9818b56c523fecce55de3c0471a60300ea64a0daa0436582127599 [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" "e9b179645e9818b56c523fecce55de3c0471a60300ea64a0daa0436582127599", kill_on_drop: false }` [INFO] [stderr] Checking converter v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | match &os::args()[] { [INFO] [stdout] | ----- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this match expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | match &os::args()[] { [INFO] [stdout] | ----- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this match expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let value = try!(read_value(value_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let currency = try!(read_currency(currency_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let value = try!(read_value(value_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let currency = try!(read_currency(currency_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Err` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl FromStr for Currency { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Err` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Err = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Err` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl FromStr for Currency { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Err` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Err = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Currency` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | map(|&(ref v, ref c)| format!("{} {:?}", v, c)). [INFO] [stdout] | ^ `Currency` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Currency` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Currency` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Currency` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | map(|&(ref v, ref c)| format!("{} {:?}", v, c)). [INFO] [stdout] | ^ `Currency` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Currency` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Currency` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | connect(" ") [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | match FromStr::from_str(value_str) { [INFO] [stdout] | ---------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 62 | None => Err(Error::InvalidValue), [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | connect(" ") [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | match FromStr::from_str(value_str) { [INFO] [stdout] | ---------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 62 | None => Err(Error::InvalidValue), [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 61 | match FromStr::from_str(value_str) { [INFO] [stdout] | ---------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 62 | None => Err(Error::InvalidValue), [INFO] [stdout] 63 | Some(value) if value >= 0.0 => Ok(value), [INFO] [stdout] | ^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 69 | match FromStr::from_str(currency_str) { [INFO] [stdout] | ------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 70 | None => Err(Error::InvalidCurrency), [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 69 | match FromStr::from_str(currency_str) { [INFO] [stdout] | ------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 70 | None => Err(Error::InvalidCurrency), [INFO] [stdout] 71 | Some(currency) => Ok(currency), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 61 | match FromStr::from_str(value_str) { [INFO] [stdout] | ---------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 62 | None => Err(Error::InvalidValue), [INFO] [stdout] 63 | Some(value) if value >= 0.0 => Ok(value), [INFO] [stdout] | ^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 69 | match FromStr::from_str(currency_str) { [INFO] [stdout] | ------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 70 | None => Err(Error::InvalidCurrency), [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 69 | match FromStr::from_str(currency_str) { [INFO] [stdout] | ------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 70 | None => Err(Error::InvalidCurrency), [INFO] [stdout] 71 | Some(currency) => Ok(currency), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `converter` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e9b179645e9818b56c523fecce55de3c0471a60300ea64a0daa0436582127599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b179645e9818b56c523fecce55de3c0471a60300ea64a0daa0436582127599", kill_on_drop: false }` [INFO] [stdout] e9b179645e9818b56c523fecce55de3c0471a60300ea64a0daa0436582127599