[INFO] fetching crate shared-bus 0.2.2... [INFO] checking shared-bus-0.2.2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate shared-bus 0.2.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate shared-bus 0.2.2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shared-bus 0.2.2 [INFO] finished tweaking crates.io crate shared-bus 0.2.2 [INFO] tweaked toml for crates.io crate shared-bus 0.2.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 0ace6d9452acf0edc5ec0f984e0894947e23cd806b5053cb0006dac1e14e2a40 [INFO] running `Command { std: "docker" "start" "-a" "0ace6d9452acf0edc5ec0f984e0894947e23cd806b5053cb0006dac1e14e2a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ace6d9452acf0edc5ec0f984e0894947e23cd806b5053cb0006dac1e14e2a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ace6d9452acf0edc5ec0f984e0894947e23cd806b5053cb0006dac1e14e2a40", kill_on_drop: false }` [INFO] [stdout] 0ace6d9452acf0edc5ec0f984e0894947e23cd806b5053cb0006dac1e14e2a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 47b8b93208b1772b0b65a4b73190cfe497c82abccf45389bd55cad3da4e00ca1 [INFO] running `Command { std: "docker" "start" "-a" "47b8b93208b1772b0b65a4b73190cfe497c82abccf45389bd55cad3da4e00ca1", kill_on_drop: false }` [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Checking embedded-hal-mock v0.7.2 [INFO] [stderr] Checking shared-bus v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/mutex.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | let m: std::sync::Mutex<_> = BusMutex::create(t); [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `new_std` in `shared_bus` [INFO] [stdout] --> tests/i2c.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | shared_bus::new_std!(i2c::Mock = device.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `new_std` in `shared_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `new_std` in `shared_bus` [INFO] [stdout] --> tests/i2c.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | let manager = shared_bus::new_std!(i2c::Mock = device.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `new_std` in `shared_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusManagerStd` in crate `shared_bus` [INFO] [stdout] --> tests/i2c.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | let manager: &'static shared_bus::BusManagerStd<_> = [INFO] [stdout] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `BusManager` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/manager.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct BusManager { [INFO] [stdout] | ------------------------ similarly named struct `BusManager` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/mutex.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let t = "hello ".to_string(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use alloc::string::ToString;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared-bus` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "47b8b93208b1772b0b65a4b73190cfe497c82abccf45389bd55cad3da4e00ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b8b93208b1772b0b65a4b73190cfe497c82abccf45389bd55cad3da4e00ca1", kill_on_drop: false }` [INFO] [stdout] 47b8b93208b1772b0b65a4b73190cfe497c82abccf45389bd55cad3da4e00ca1