[INFO] fetching crate mifi-rs 0.3.0... [INFO] checking mifi-rs-0.3.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate mifi-rs 0.3.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate mifi-rs 0.3.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mifi-rs 0.3.0 [INFO] finished tweaking crates.io crate mifi-rs 0.3.0 [INFO] tweaked toml for crates.io crate mifi-rs 0.3.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75910723af98a45f645ea10433c2c9566d6892748dca7d6e85140f9650673083 [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" "75910723af98a45f645ea10433c2c9566d6892748dca7d6e85140f9650673083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75910723af98a45f645ea10433c2c9566d6892748dca7d6e85140f9650673083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75910723af98a45f645ea10433c2c9566d6892748dca7d6e85140f9650673083", kill_on_drop: false }` [INFO] [stdout] 75910723af98a45f645ea10433c2c9566d6892748dca7d6e85140f9650673083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1dbc41cade2947385990f1936fac5598d2a46cadd552876e10fde3f16f85b54 [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" "c1dbc41cade2947385990f1936fac5598d2a46cadd552876e10fde3f16f85b54", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mifi-rs v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/marketset.rs (9 fixes) [INFO] [stderr] Fixed src/market.rs (2 fixes) [INFO] [stderr] Fixed src/qafastkline.rs (11 fixes) [INFO] [stderr] Fixed src/lib.rs (5 fixes) [INFO] [stderr] Fixed src/qamarketset.rs (9 fixes) [INFO] [stderr] Fixed src/base.rs (10 fixes) [INFO] [stderr] Fixed src/func.rs (2 fixes) [INFO] [stdout] error[E0412]: cannot find type `Contract` in this scope [INFO] [stdout] --> src/front.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | let n: Contract = serde_json::from_str(x).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 260 | use crate::front::Contract; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Contract` in this scope [INFO] [stdout] --> src/front.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | let m: Contract = serde_json::from_str(c).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 260 | use crate::front::Contract; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stock_day` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct stock_day { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StockDay` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stock_min` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct stock_min { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StockMin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `future_day` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct future_day { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FutureDay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `future_min` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct future_min { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FutureMin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `marketcollection` should have an upper camel case name [INFO] [stdout] --> src/qamarketset.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct marketcollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Marketcollection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `marketcollection` should have an upper camel case name [INFO] [stdout] --> src/marketset.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct marketcollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Marketcollection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mifi-rs` due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/front.rs (1 fix) [INFO] [stdout] warning: type `stock_day` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct stock_day { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StockDay` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stock_min` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct stock_min { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StockMin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `future_day` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct future_day { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FutureDay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `future_min` should have an upper camel case name [INFO] [stdout] --> src/kline.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct future_min { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FutureMin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `marketcollection` should have an upper camel case name [INFO] [stdout] --> src/qamarketset.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct marketcollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Marketcollection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `marketcollection` should have an upper camel case name [INFO] [stdout] --> src/marketset.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct marketcollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Marketcollection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/qafastkline.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn to_json(&self) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BuyPrices` should have a snake case name [INFO] [stdout] --> src/qafastkline.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub BuyPrices: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buy_prices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BuyVols` should have a snake case name [INFO] [stdout] --> src/qafastkline.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub BuyVols: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buy_vols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SellPrices` should have a snake case name [INFO] [stdout] --> src/qafastkline.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub SellPrices: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sell_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SellVols` should have a snake case name [INFO] [stdout] --> src/qafastkline.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub SellVols: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sell_vols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BuyPrices` should have a snake case name [INFO] [stdout] --> src/market.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub BuyPrices: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buy_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BuyVols` should have a snake case name [INFO] [stdout] --> src/market.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub BuyVols: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buy_vols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SellPrices` should have a snake case name [INFO] [stdout] --> src/market.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub SellPrices: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sell_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SellVols` should have a snake case name [INFO] [stdout] --> src/market.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub SellVols: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sell_vols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MarketFullName` should have a snake case name [INFO] [stdout] --> src/market.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub MarketFullName: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `market_full_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `preSettlementPrice` should have a snake case name [INFO] [stdout] --> src/market.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | pub preSettlementPrice: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pre_settlement_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c1dbc41cade2947385990f1936fac5598d2a46cadd552876e10fde3f16f85b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1dbc41cade2947385990f1936fac5598d2a46cadd552876e10fde3f16f85b54", kill_on_drop: false }` [INFO] [stdout] c1dbc41cade2947385990f1936fac5598d2a46cadd552876e10fde3f16f85b54