[INFO] fetching crate cxmr-tectonic 0.0.1... [INFO] checking cxmr-tectonic-0.0.1 against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] extracting crate cxmr-tectonic 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate cxmr-tectonic 0.0.1 on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cxmr-tectonic 0.0.1 [INFO] finished tweaking crates.io crate cxmr-tectonic 0.0.1 [INFO] tweaked toml for crates.io crate cxmr-tectonic 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "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] f4e833b7194fef03da22fd666bc906b63c2170de9bab491f5afe2187740fb7c9 [INFO] running `Command { std: "docker" "start" "-a" "f4e833b7194fef03da22fd666bc906b63c2170de9bab491f5afe2187740fb7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e833b7194fef03da22fd666bc906b63c2170de9bab491f5afe2187740fb7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e833b7194fef03da22fd666bc906b63c2170de9bab491f5afe2187740fb7c9", kill_on_drop: false }` [INFO] [stdout] f4e833b7194fef03da22fd666bc906b63c2170de9bab491f5afe2187740fb7c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68a3e0bc97c36232374958fbc9cff59b99196f01ad86a5b7a29aa77d0bf285a8 [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" "68a3e0bc97c36232374958fbc9cff59b99196f01ad86a5b7a29aa77d0bf285a8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking err-convert-macro v0.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking cxmr-currency v0.0.1 [INFO] [stderr] Checking cxmr-balances v0.0.1 [INFO] [stderr] Checking cxmr-exchanges v0.0.1 [INFO] [stderr] Checking cxmr-feeds v0.0.1 [INFO] [stderr] Checking cxmr-tectonic v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dirs.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | / fn is_not_default(path: &Path) -> Result { [INFO] [stdout] 37 | | let symbol = path.file_name()?.to_str()?.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 38 | | Ok(symbol != "default") [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dirs.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | / fn is_not_default(path: &Path) -> Result { [INFO] [stdout] 37 | | let symbol = path.file_name()?.to_str()?.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 38 | | Ok(symbol != "default") [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dirs.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | / fn is_not_default(path: &Path) -> Result { [INFO] [stdout] 37 | | let symbol = path.file_name()?.to_str()?.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 38 | | Ok(symbol != "default") [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dirs.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | / fn is_not_default(path: &Path) -> Result { [INFO] [stdout] 37 | | let symbol = path.file_name()?.to_str()?.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 38 | | Ok(symbol != "default") [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dirs.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | / fn is_not_default(path: &Path) -> Result { [INFO] [stdout] 37 | | let symbol = path.file_name()?.to_str()?.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 38 | | Ok(symbol != "default") [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dirs.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | / fn is_not_default(path: &Path) -> Result { [INFO] [stdout] 37 | | let symbol = path.file_name()?.to_str()?.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 38 | | Ok(symbol != "default") [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dtf.rs:635:18 [INFO] [stdout] | [INFO] [stdout] 634 | / fn split_symbol(symbol: &str) -> Result { [INFO] [stdout] 635 | | let symbol = symbol.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 636 | | let index = symbol.find('_')?; [INFO] [stdout] 637 | | let exchange = Exchange::from_str(&symbol[..index])?; [INFO] [stdout] 638 | | let pair = CurrencyPair::from_str(&symbol[index + 1..])?; [INFO] [stdout] 639 | | Ok(Market::new(exchange, pair)) [INFO] [stdout] 640 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dtf.rs:635:18 [INFO] [stdout] | [INFO] [stdout] 634 | / fn split_symbol(symbol: &str) -> Result { [INFO] [stdout] 635 | | let symbol = symbol.split('.').next()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 636 | | let index = symbol.find('_')?; [INFO] [stdout] 637 | | let exchange = Exchange::from_str(&symbol[..index])?; [INFO] [stdout] 638 | | let pair = CurrencyPair::from_str(&symbol[index + 1..])?; [INFO] [stdout] 639 | | Ok(Market::new(exchange, pair)) [INFO] [stdout] 640 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dtf.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 634 | / fn split_symbol(symbol: &str) -> Result { [INFO] [stdout] 635 | | let symbol = symbol.split('.').next()?; [INFO] [stdout] 636 | | let index = symbol.find('_')?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 637 | | let exchange = Exchange::from_str(&symbol[..index])?; [INFO] [stdout] 638 | | let pair = CurrencyPair::from_str(&symbol[index + 1..])?; [INFO] [stdout] 639 | | Ok(Market::new(exchange, pair)) [INFO] [stdout] 640 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/dtf.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 634 | / fn split_symbol(symbol: &str) -> Result { [INFO] [stdout] 635 | | let symbol = symbol.split('.').next()?; [INFO] [stdout] 636 | | let index = symbol.find('_')?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result` [INFO] [stdout] 637 | | let exchange = Exchange::from_str(&symbol[..index])?; [INFO] [stdout] 638 | | let pair = CurrencyPair::from_str(&symbol[index + 1..])?; [INFO] [stdout] 639 | | Ok(Market::new(exchange, pair)) [INFO] [stdout] 640 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cxmr-tectonic` [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "68a3e0bc97c36232374958fbc9cff59b99196f01ad86a5b7a29aa77d0bf285a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a3e0bc97c36232374958fbc9cff59b99196f01ad86a5b7a29aa77d0bf285a8", kill_on_drop: false }` [INFO] [stdout] 68a3e0bc97c36232374958fbc9cff59b99196f01ad86a5b7a29aa77d0bf285a8