[INFO] fetching crate scrapyard-core 0.1.0... [INFO] checking scrapyard-core-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate scrapyard-core 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate scrapyard-core 0.1.0 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 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-3/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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cbindgen v0.5.2 [INFO] [stderr] Downloaded standalone-syn v0.13.0 [INFO] [stderr] Downloaded standalone-quote v0.5.0 [INFO] [stderr] Downloaded serde_derive_internals v0.17.0 [INFO] [stderr] Downloaded serde_derive v1.0.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 79656738af36029be8f2926b07db23348fe59bc84e5860c3bb12f1df7cc18017 [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" "79656738af36029be8f2926b07db23348fe59bc84e5860c3bb12f1df7cc18017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79656738af36029be8f2926b07db23348fe59bc84e5860c3bb12f1df7cc18017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79656738af36029be8f2926b07db23348fe59bc84e5860c3bb12f1df7cc18017", kill_on_drop: false }` [INFO] [stdout] 79656738af36029be8f2926b07db23348fe59bc84e5860c3bb12f1df7cc18017 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] 92e338696a82d5823b19782be3a4f694d9e849ad5673f55ae83350503749fb2a [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" "92e338696a82d5823b19782be3a4f694d9e849ad5673f55ae83350503749fb2a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling scrapyard-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling syn v0.11.11 [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 backtrace v0.3.56 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Checking serde_json v1.0.64 [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: 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: 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: 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: 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: `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: 8 warnings emitted [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] 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: could not compile `scrapyard-core` [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] 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] [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" "92e338696a82d5823b19782be3a4f694d9e849ad5673f55ae83350503749fb2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e338696a82d5823b19782be3a4f694d9e849ad5673f55ae83350503749fb2a", kill_on_drop: false }` [INFO] [stdout] 92e338696a82d5823b19782be3a4f694d9e849ad5673f55ae83350503749fb2a