[INFO] fetching crate cxmr-pubsub 0.0.1... [INFO] checking cxmr-pubsub-0.0.1 against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] extracting crate cxmr-pubsub 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cxmr-pubsub 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-pubsub 0.0.1 [INFO] finished tweaking crates.io crate cxmr-pubsub 0.0.1 [INFO] tweaked toml for crates.io crate cxmr-pubsub 0.0.1 written to /workspace/builds/worker-9/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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metadeps v1.1.2 [INFO] [stderr] Downloaded zmq-sys v0.11.0 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded zmq v0.9.2 [INFO] [stderr] Downloaded zeromq-src v0.1.10+4.3.2 [INFO] [stderr] Downloaded cxmr-tectonic v0.0.1 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef6a42a4da066ff81eaa7acd082329df02bcf9c5870917718004edec7348b8b [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" "4ef6a42a4da066ff81eaa7acd082329df02bcf9c5870917718004edec7348b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef6a42a4da066ff81eaa7acd082329df02bcf9c5870917718004edec7348b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef6a42a4da066ff81eaa7acd082329df02bcf9c5870917718004edec7348b8b", kill_on_drop: false }` [INFO] [stdout] 4ef6a42a4da066ff81eaa7acd082329df02bcf9c5870917718004edec7348b8b [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60b788a7f436553b5fc003aadf987fd3319b48073ef57a07c59e1974e8f6be96 [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" "60b788a7f436553b5fc003aadf987fd3319b48073ef57a07c59e1974e8f6be96", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking err-convert-macro v0.0.1 [INFO] [stderr] Compiling zmq v0.9.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling zeromq-src v0.1.10+4.3.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling zmq-sys v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive 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 [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cxmr-tectonic-0.0.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cxmr-tectonic-0.0.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cxmr-tectonic-0.0.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cxmr-tectonic-0.0.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cxmr-tectonic-0.0.1/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] [stderr] error: could not compile `cxmr-tectonic` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "60b788a7f436553b5fc003aadf987fd3319b48073ef57a07c59e1974e8f6be96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b788a7f436553b5fc003aadf987fd3319b48073ef57a07c59e1974e8f6be96", kill_on_drop: false }` [INFO] [stdout] 60b788a7f436553b5fc003aadf987fd3319b48073ef57a07c59e1974e8f6be96