[INFO] fetching crate scrapyard-core 0.1.0... [INFO] checking scrapyard-core-0.1.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate scrapyard-core 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate scrapyard-core 0.1.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate scrapyard-core 0.1.0 [INFO] finished tweaking crates.io crate scrapyard-core 0.1.0 [INFO] tweaked toml for crates.io crate scrapyard-core 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b0514315bcf26782641e498f6513974de4e0a83406456eba9d88eaaee0d561c [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" "0b0514315bcf26782641e498f6513974de4e0a83406456eba9d88eaaee0d561c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b0514315bcf26782641e498f6513974de4e0a83406456eba9d88eaaee0d561c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b0514315bcf26782641e498f6513974de4e0a83406456eba9d88eaaee0d561c", kill_on_drop: false }` [INFO] [stdout] 0b0514315bcf26782641e498f6513974de4e0a83406456eba9d88eaaee0d561c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ee99e25e116ffa3874d3f0d380c7d083d721b109dfa0848e6789c7aca961e8 [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" "88ee99e25e116ffa3874d3f0d380c7d083d721b109dfa0848e6789c7aca961e8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling scrapyard-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stdout] warning: function is never used: `target_dir` [INFO] [stdout] --> build.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn target_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/irqs.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(path: &Path) -> Result> { [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: unused import: `super::*` [INFO] [stdout] --> src/irqs.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::*` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use errors::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/irqs.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(path: &Path) -> Result> { [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: unused import: `errors::*` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use errors::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | SerdeJSON(::serde_json::Error); [INFO] [stdout] 5 | | Parse(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | SerdeJSON(::serde_json::Error); [INFO] [stdout] 5 | | Parse(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | SerdeJSON(::serde_json::Error); [INFO] [stdout] 5 | | Parse(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | SerdeJSON(::serde_json::Error); [INFO] [stdout] 5 | | Parse(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | SerdeJSON(::serde_json::Error); [INFO] [stdout] 5 | | Parse(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | SerdeJSON(::serde_json::Error); [INFO] [stdout] 5 | | Parse(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mcu` [INFO] [stdout] --> src/mcu.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mcu = MCU::new(sample); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mcu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package` [INFO] [stdout] --> src/package.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let package = Package::new(package_name); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/module/peripheral.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let file = File::open(&self.config); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/module/peripheral.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let file = File::open(&self.config); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_settings` [INFO] [stdout] --> src/projectsettings.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let project_settings = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InterruptBuilder` [INFO] [stdout] --> src/irqs.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct InterruptBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/irqs.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(path: &Path) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InterruptBuilder` [INFO] [stdout] --> src/irqs.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct InterruptBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/irqs.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(path: &Path) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mcu` [INFO] [stdout] --> tests/interface.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate mcu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scrapyard-core` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `mcu` [INFO] [stdout] --> tests/integration.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate mcu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "88ee99e25e116ffa3874d3f0d380c7d083d721b109dfa0848e6789c7aca961e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ee99e25e116ffa3874d3f0d380c7d083d721b109dfa0848e6789c7aca961e8", kill_on_drop: false }` [INFO] [stdout] 88ee99e25e116ffa3874d3f0d380c7d083d721b109dfa0848e6789c7aca961e8