[INFO] fetching crate cargo-smol 0.2.0... [INFO] checking cargo-smol-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate cargo-smol 0.2.0 into /workspace/builds/worker-92/source [INFO] validating manifest of crates.io crate cargo-smol 0.2.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 cargo-smol 0.2.0 [INFO] finished tweaking crates.io crate cargo-smol 0.2.0 [INFO] tweaked toml for crates.io crate cargo-smol 0.2.0 written to /workspace/builds/worker-92/source/Cargo.toml [INFO] crate crates.io crate cargo-smol 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded syn v0.15.42 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded failure_derive v0.1.5 [INFO] [stderr] Downloaded redox_users v0.3.0 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded termion v1.5.3 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.15 [INFO] [stderr] Downloaded failure v0.1.5 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded constant_time_eq v0.1.3 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded argon2rs v0.2.5 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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] 10f19e164145b13cf8d7d1d11025177007b4462839099125e25d177fe8959495 [INFO] running `Command { std: "docker" "start" "-a" "10f19e164145b13cf8d7d1d11025177007b4462839099125e25d177fe8959495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10f19e164145b13cf8d7d1d11025177007b4462839099125e25d177fe8959495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f19e164145b13cf8d7d1d11025177007b4462839099125e25d177fe8959495", kill_on_drop: false }` [INFO] [stdout] 10f19e164145b13cf8d7d1d11025177007b4462839099125e25d177fe8959495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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] e4bbc9c61df19a4df8327b4082163dc339d4d03286c88bdcf2fe41580be07944 [INFO] running `Command { std: "docker" "start" "-a" "e4bbc9c61df19a4df8327b4082163dc339d4d03286c88bdcf2fe41580be07944", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v0.15.42 (as host dependency): extra-traits [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking cargo-smol v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/failed.rs (1 fix) [INFO] [stderr] Fixed src/parse.rs (1 fix) [INFO] [stderr] Fixed src/count.rs (1 fix) [INFO] [stderr] Fixed src/count.rs (4 fixes) [INFO] [stdout] warning: constant is never used: `TEST_STARTED` [INFO] [stdout] --> src/count.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / pub const TEST_STARTED: &str = [INFO] [stdout] 56 | | r#"{ "type": "test", "event": "started", "name": "tests::we_dont_use_this_value" }"#; [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_OK` [INFO] [stdout] --> src/count.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / pub const TEST_OK: &str = [INFO] [stdout] 58 | | r#"{ "type": "test", "name": "tests::test_ok_parsed_properly", "event": "ok" }"#; [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_FAILED` [INFO] [stdout] --> src/count.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / pub const TEST_FAILED: &str = r#" [INFO] [stdout] 60 | | { "type": "test", "name": "tests::test_ok_parsed_properly", "event": "failed", [INFO] [stdout] 61 | | "stdout": "thread 'main' panicked at 'assertion failed: `(left == right)`\n left: `\"tests::test_ok_parsed_properly\"`,\n right: `... [INFO] [stdout] 62 | | "#; [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.15s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking cargo-smol v0.2.0 (/tmp/fixit) [INFO] [stdout] error[E0412]: cannot find type `TestResult` in this scope [INFO] [stdout] --> src/count.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let started: TestResult = from_str(TEST_STARTED).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 55 | use crate::TestResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/count.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | let started: TestResult = from_str(TEST_STARTED).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 55 | use crate::from_str; [INFO] [stdout] | [INFO] [stdout] 55 | use serde_json::from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestResult` in this scope [INFO] [stdout] --> src/count.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let result: TestResult = from_str(TEST_OK).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 55 | use crate::TestResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/count.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | let result: TestResult = from_str(TEST_OK).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 55 | use crate::from_str; [INFO] [stdout] | [INFO] [stdout] 55 | use serde_json::from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestCount` [INFO] [stdout] --> src/count.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut count = TestCount::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 55 | use crate::TestCount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FailedTests` [INFO] [stdout] --> src/count.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | let mut failed = FailedTests::default(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 55 | use crate::FailedTests; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `feed` in this scope [INFO] [stdout] --> src/count.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | feed(&mut count, &mut failed, &started); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 55 | use crate::feed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `feed` in this scope [INFO] [stdout] --> src/count.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | feed(&mut count, &mut failed, &result); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 55 | use crate::feed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestResult` in this scope [INFO] [stdout] --> src/count.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | let started: TestResult = from_str(TEST_STARTED).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 55 | use crate::TestResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/count.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | let started: TestResult = from_str(TEST_STARTED).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 55 | use crate::from_str; [INFO] [stdout] | [INFO] [stdout] 55 | use serde_json::from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestResult` in this scope [INFO] [stdout] --> src/count.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let result: TestResult = from_str(TEST_FAILED).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 55 | use crate::TestResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/count.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | let result: TestResult = from_str(TEST_FAILED).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 55 | use crate::from_str; [INFO] [stdout] | [INFO] [stdout] 55 | use serde_json::from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestCount` [INFO] [stdout] --> src/count.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let mut count = TestCount::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 55 | use crate::TestCount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FailedTests` [INFO] [stdout] --> src/count.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let mut failed = FailedTests::default(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 55 | use crate::FailedTests; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `feed` in this scope [INFO] [stdout] --> src/count.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | feed(&mut count, &mut failed, &started); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 55 | use crate::feed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `feed` in this scope [INFO] [stdout] --> src/count.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | feed(&mut count, &mut failed, &result); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 55 | use crate::feed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-smol` due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant is never used: `TEST_STARTED` [INFO] [stdout] --> src/count.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / pub const TEST_STARTED: &str = [INFO] [stdout] 56 | | r#"{ "type": "test", "event": "started", "name": "tests::we_dont_use_this_value" }"#; [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_OK` [INFO] [stdout] --> src/count.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / pub const TEST_OK: &str = [INFO] [stdout] 58 | | r#"{ "type": "test", "name": "tests::test_ok_parsed_properly", "event": "ok" }"#; [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_FAILED` [INFO] [stdout] --> src/count.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / pub const TEST_FAILED: &str = r#" [INFO] [stdout] 60 | | { "type": "test", "name": "tests::test_ok_parsed_properly", "event": "failed", [INFO] [stdout] 61 | | "stdout": "thread 'main' panicked at 'assertion failed: `(left == right)`\n left: `\"tests::test_ok_parsed_properly\"`,\n right: `... [INFO] [stdout] 62 | | "#; [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e4bbc9c61df19a4df8327b4082163dc339d4d03286c88bdcf2fe41580be07944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bbc9c61df19a4df8327b4082163dc339d4d03286c88bdcf2fe41580be07944", kill_on_drop: false }` [INFO] [stdout] e4bbc9c61df19a4df8327b4082163dc339d4d03286c88bdcf2fe41580be07944