[INFO] fetching crate shared-bus 0.2.3... [INFO] testing shared-bus-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate shared-bus 0.2.3 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate shared-bus 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shared-bus 0.2.3 [INFO] finished tweaking crates.io crate shared-bus 0.2.3 [INFO] tweaked toml for crates.io crate shared-bus 0.2.3 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 659be3508352b8179048b5e230985251065da96df410bad99ee3e7fae11a49eb [INFO] running `Command { std: "docker" "start" "-a" "659be3508352b8179048b5e230985251065da96df410bad99ee3e7fae11a49eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "659be3508352b8179048b5e230985251065da96df410bad99ee3e7fae11a49eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659be3508352b8179048b5e230985251065da96df410bad99ee3e7fae11a49eb", kill_on_drop: false }` [INFO] [stdout] 659be3508352b8179048b5e230985251065da96df410bad99ee3e7fae11a49eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06d958b16288c0e14e109abd3eb54a7c8ed5d1e29260b69ff10d910f4dd83898 [INFO] running `Command { std: "docker" "start" "-a" "06d958b16288c0e14e109abd3eb54a7c8ed5d1e29260b69ff10d910f4dd83898", kill_on_drop: false }` [INFO] [stderr] Compiling critical-section v0.2.7 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling atomic-polyfill v0.1.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling shared-bus v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "06d958b16288c0e14e109abd3eb54a7c8ed5d1e29260b69ff10d910f4dd83898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d958b16288c0e14e109abd3eb54a7c8ed5d1e29260b69ff10d910f4dd83898", kill_on_drop: false }` [INFO] [stdout] 06d958b16288c0e14e109abd3eb54a7c8ed5d1e29260b69ff10d910f4dd83898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a8ba42fdb89dcf4092914bc41e1850ed642a6601c902f6a9623bbd60d51bf7e [INFO] running `Command { std: "docker" "start" "-a" "3a8ba42fdb89dcf4092914bc41e1850ed642a6601c902f6a9623bbd60d51bf7e", kill_on_drop: false }` [INFO] [stderr] Compiling embedded-hal-mock v0.8.0 [INFO] [stderr] Compiling shared-bus v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `new_std` in `shared_bus` [INFO] [stdout] --> tests/i2c.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | 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:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | 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[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/mutex.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | 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/adc.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | shared_bus::new_std!(adc::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/adc.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | shared_bus::new_std!(adc::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:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | 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[E0412]: cannot find type `BusManagerStd` in crate `shared_bus` [INFO] [stdout] --> tests/adc.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | 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[E0412]: cannot find type `BusManagerStd` in crate `shared_bus` [INFO] [stdout] --> tests/adc.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | 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: 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 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/mutex.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | 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] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 152 | use alloc::string::ToString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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] [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] [stderr] error: could not compile `shared-bus` due to 3 previous errors [INFO] [stderr] error: could not compile `shared-bus` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "3a8ba42fdb89dcf4092914bc41e1850ed642a6601c902f6a9623bbd60d51bf7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8ba42fdb89dcf4092914bc41e1850ed642a6601c902f6a9623bbd60d51bf7e", kill_on_drop: false }` [INFO] [stdout] 3a8ba42fdb89dcf4092914bc41e1850ed642a6601c902f6a9623bbd60d51bf7e