[INFO] fetching crate sbg 0.0.2... [INFO] testing sbg-0.0.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate sbg 0.0.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sbg 0.0.2 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", 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] adc02e5fa7aa2f51a90b8c4e49d5db961a5e79bdff492d6981dd2f734c6a44bc [INFO] running `Command { std: "docker" "start" "-a" "adc02e5fa7aa2f51a90b8c4e49d5db961a5e79bdff492d6981dd2f734c6a44bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adc02e5fa7aa2f51a90b8c4e49d5db961a5e79bdff492d6981dd2f734c6a44bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc02e5fa7aa2f51a90b8c4e49d5db961a5e79bdff492d6981dd2f734c6a44bc", kill_on_drop: false }` [INFO] [stdout] adc02e5fa7aa2f51a90b8c4e49d5db961a5e79bdff492d6981dd2f734c6a44bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22a7764a441384a729e84358f0401fdf505705ff709a833f09a8f61522455b18 [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" "22a7764a441384a729e84358f0401fdf505705ff709a833f09a8f61522455b18", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.08s [INFO] running `Command { std: "docker" "inspect" "22a7764a441384a729e84358f0401fdf505705ff709a833f09a8f61522455b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a7764a441384a729e84358f0401fdf505705ff709a833f09a8f61522455b18", kill_on_drop: false }` [INFO] [stdout] 22a7764a441384a729e84358f0401fdf505705ff709a833f09a8f61522455b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--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] f9dc3d2ab8780148a2234b7b4b0d9669967ddd6f1765ef0a2d98215b58d78e65 [INFO] running `Command { std: "docker" "start" "-a" "f9dc3d2ab8780148a2234b7b4b0d9669967ddd6f1765ef0a2d98215b58d78e65", kill_on_drop: false }` [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] [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 `#[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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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" "f9dc3d2ab8780148a2234b7b4b0d9669967ddd6f1765ef0a2d98215b58d78e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9dc3d2ab8780148a2234b7b4b0d9669967ddd6f1765ef0a2d98215b58d78e65", kill_on_drop: false }` [INFO] [stdout] f9dc3d2ab8780148a2234b7b4b0d9669967ddd6f1765ef0a2d98215b58d78e65