[INFO] fetching crate sbg 0.0.2... [INFO] checking sbg-0.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sbg 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sbg 0.0.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.2.5 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f70f1c70593da9613a46943c220664f934ba8a0bf5217dda335a4d89c4330b0 [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" "0f70f1c70593da9613a46943c220664f934ba8a0bf5217dda335a4d89c4330b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f70f1c70593da9613a46943c220664f934ba8a0bf5217dda335a4d89c4330b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f70f1c70593da9613a46943c220664f934ba8a0bf5217dda335a4d89c4330b0", kill_on_drop: false }` [INFO] [stdout] 0f70f1c70593da9613a46943c220664f934ba8a0bf5217dda335a4d89c4330b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1349f2b80cb17184d26ea264f190d888003eb7b931902c6df9d90e874acf5510 [INFO] running `Command { std: "docker" "start" "-a" "1349f2b80cb17184d26ea264f190d888003eb7b931902c6df9d90e874acf5510", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking pretty_env_logger v0.2.5 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking 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] [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] [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] [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] [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] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [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] [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] [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] [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] [INFO] [stderr] error: could not compile `sbg` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1349f2b80cb17184d26ea264f190d888003eb7b931902c6df9d90e874acf5510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1349f2b80cb17184d26ea264f190d888003eb7b931902c6df9d90e874acf5510", kill_on_drop: false }` [INFO] [stdout] 1349f2b80cb17184d26ea264f190d888003eb7b931902c6df9d90e874acf5510