[INFO] fetching crate sbg 0.0.2... [INFO] testing sbg-0.0.2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate sbg 0.0.2 into /workspace/builds/worker-77/source [INFO] validating manifest of crates.io crate sbg 0.0.2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sbg 0.0.2 [INFO] finished tweaking crates.io crate sbg 0.0.2 [INFO] tweaked toml for crates.io crate sbg 0.0.2 written to /workspace/builds/worker-77/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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 pretty_env_logger v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7314de0cc125d7739b47ddb8592c28a1cc2247489355ddcb6a7317aa2adeb5a6 [INFO] running `Command { std: "docker" "start" "-a" "7314de0cc125d7739b47ddb8592c28a1cc2247489355ddcb6a7317aa2adeb5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7314de0cc125d7739b47ddb8592c28a1cc2247489355ddcb6a7317aa2adeb5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7314de0cc125d7739b47ddb8592c28a1cc2247489355ddcb6a7317aa2adeb5a6", kill_on_drop: false }` [INFO] [stdout] 7314de0cc125d7739b47ddb8592c28a1cc2247489355ddcb6a7317aa2adeb5a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62467762f5feaaa6d3de5d2262d3b527b158174441a1280ab5e8b801049f588c [INFO] running `Command { std: "docker" "start" "-a" "62467762f5feaaa6d3de5d2262d3b527b158174441a1280ab5e8b801049f588c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling sbg v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | fn run() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.87s [INFO] running `Command { std: "docker" "inspect" "62467762f5feaaa6d3de5d2262d3b527b158174441a1280ab5e8b801049f588c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62467762f5feaaa6d3de5d2262d3b527b158174441a1280ab5e8b801049f588c", kill_on_drop: false }` [INFO] [stdout] 62467762f5feaaa6d3de5d2262d3b527b158174441a1280ab5e8b801049f588c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f6ab82a64950f7a45a162119825eb30157ff58749c7a2ac7e827e1196f05e9d [INFO] running `Command { std: "docker" "start" "-a" "5f6ab82a64950f7a45a162119825eb30157ff58749c7a2ac7e827e1196f05e9d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling sbg v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/main_impl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::Url; [INFO] [stdout] | ^^^ maybe a missing crate `url`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `main_impl` [INFO] [stdout] --> examples/main_impl.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{ [INFO] [stdout] 2 | | error::Error,path::PathBuf, [INFO] [stdout] 3 | | }; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 25 | | unimplemented!(); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/main_impl.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stderr] error: could not compile `sbg` due to 3 previous errors; 4 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main_impl.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/main.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | fn run() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | fn run() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_arg` [INFO] [stdout] --> examples/main_impl.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | some_arg: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_other_arg` [INFO] [stdout] --> examples/main_impl.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | some_other_arg: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_other_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_arg` [INFO] [stdout] --> examples/main_impl.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | some_arg: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_other_arg` [INFO] [stdout] --> examples/main_impl.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | some_other_arg: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_other_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5f6ab82a64950f7a45a162119825eb30157ff58749c7a2ac7e827e1196f05e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f6ab82a64950f7a45a162119825eb30157ff58749c7a2ac7e827e1196f05e9d", kill_on_drop: false }` [INFO] [stdout] 5f6ab82a64950f7a45a162119825eb30157ff58749c7a2ac7e827e1196f05e9d