[INFO] cloning repository https://github.com/RussTheAerialist/cargo-smol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RussTheAerialist/cargo-smol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRussTheAerialist%2Fcargo-smol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRussTheAerialist%2Fcargo-smol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d8495d1ffe234e9add481c140df05846dcf5acf [INFO] checking RussTheAerialist/cargo-smol against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRussTheAerialist%2Fcargo-smol" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RussTheAerialist/cargo-smol 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 git repo https://github.com/RussTheAerialist/cargo-smol [INFO] finished tweaking git repo https://github.com/RussTheAerialist/cargo-smol [INFO] tweaked toml for git repo https://github.com/RussTheAerialist/cargo-smol written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/RussTheAerialist/cargo-smol 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] fcaa49a3fff416ac2dbee97b465ba08110cdc3b90e3d162e58ce86f70c1cf564 [INFO] running `Command { std: "docker" "start" "-a" "fcaa49a3fff416ac2dbee97b465ba08110cdc3b90e3d162e58ce86f70c1cf564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcaa49a3fff416ac2dbee97b465ba08110cdc3b90e3d162e58ce86f70c1cf564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcaa49a3fff416ac2dbee97b465ba08110cdc3b90e3d162e58ce86f70c1cf564", kill_on_drop: false }` [INFO] [stdout] fcaa49a3fff416ac2dbee97b465ba08110cdc3b90e3d162e58ce86f70c1cf564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] d78fdeb8259de333d0c9d0dbbe9aca0bd993d6d4ecb5e845ede716db6667303b [INFO] running `Command { std: "docker" "start" "-a" "d78fdeb8259de333d0c9d0dbbe9aca0bd993d6d4ecb5e845ede716db6667303b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking itoa v0.4.4 [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 dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking cargo-smol v0.2.1-alpha.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/count.rs (5 fixes) [INFO] [stderr] Fixed src/failed.rs (1 fix) [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] warning: unused import: `serde_json::from_str` [INFO] [stdout] --> src/parse.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use serde_json::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [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; 1 warning emitted [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 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" "d78fdeb8259de333d0c9d0dbbe9aca0bd993d6d4ecb5e845ede716db6667303b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78fdeb8259de333d0c9d0dbbe9aca0bd993d6d4ecb5e845ede716db6667303b", kill_on_drop: false }` [INFO] [stdout] d78fdeb8259de333d0c9d0dbbe9aca0bd993d6d4ecb5e845ede716db6667303b