[INFO] fetching crate vmem 1.0.0... [INFO] testing vmem-1.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate vmem 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate vmem 1.0.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate vmem 1.0.0 [INFO] tweaked toml for crates.io crate vmem 1.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vmem 1.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vmem 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 601e62cbacf5c99cc3cb383fd7193deb55c5ff63fd8ed3ec35eb1c72249a6351 [INFO] running `Command { std: "docker" "start" "-a" "601e62cbacf5c99cc3cb383fd7193deb55c5ff63fd8ed3ec35eb1c72249a6351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "601e62cbacf5c99cc3cb383fd7193deb55c5ff63fd8ed3ec35eb1c72249a6351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601e62cbacf5c99cc3cb383fd7193deb55c5ff63fd8ed3ec35eb1c72249a6351", kill_on_drop: false }` [INFO] [stdout] 601e62cbacf5c99cc3cb383fd7193deb55c5ff63fd8ed3ec35eb1c72249a6351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d918b1fce3c6baaa95eea4ebd8499de2b7ac79761a62f1ed278f472280ccd48e [INFO] running `Command { std: "docker" "start" "-a" "d918b1fce3c6baaa95eea4ebd8499de2b7ac79761a62f1ed278f472280ccd48e", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling vmem v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "d918b1fce3c6baaa95eea4ebd8499de2b7ac79761a62f1ed278f472280ccd48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d918b1fce3c6baaa95eea4ebd8499de2b7ac79761a62f1ed278f472280ccd48e", kill_on_drop: false }` [INFO] [stdout] d918b1fce3c6baaa95eea4ebd8499de2b7ac79761a62f1ed278f472280ccd48e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6186d4f0e01ab4488c679d6c492d23d9f239ec6b66b73a0c71884ef5294c3f1d [INFO] running `Command { std: "docker" "start" "-a" "6186d4f0e01ab4488c679d6c492d23d9f239ec6b66b73a0c71884ef5294c3f1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling anstream v0.6.7 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling clap_builder v4.4.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling clap-num v1.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling clap v4.4.17 [INFO] [stderr] Compiling mortal v0.2.4 [INFO] [stderr] Compiling linefeed v0.6.0 [INFO] [stderr] Compiling vmem v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let mut arenas: HashMap>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:25:83 [INFO] [stdout] | [INFO] [stdout] 25 | let mut arenas: HashMap>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Command::Create { name, quantum }) => match arenas.entry(name.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | match Arena::<_, Mutex<()>>::create(name.leak(), quantum, None, Global) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `create` exists for struct `Arena<'_, '_, _, std::sync::Mutex<()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/repl/main.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | match Arena::<_, Mutex<()>>::create(name.leak(), quantum, None, Global) { [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Arena<'_, '_, _, std::sync::Mutex<()>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::Mutex<()>: Lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/repl/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | ... arena.label() [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | ... entry.insert(arena); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | match arenas.get(&arena) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add_span` exists for reference `&Arena<'_, '_, std::alloc::Global, std::sync::Mutex<()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/repl/main.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | Some(arena) => match arena.add_span(base, size) { [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::Mutex<()>: Lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | if !arenas.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | for arena in arenas.values() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | println!("{:?}", arena); [INFO] [stdout] | ^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | match arenas.get(&arena) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | Some(arena) => println!("\n{:?}", arena), [INFO] [stdout] | ^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | match arenas.get(&arena) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `xalloc` exists for reference `&Arena<'_, '_, std::alloc::Global, std::sync::Mutex<()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/repl/main.rs:130:41 [INFO] [stdout] | [INFO] [stdout] 130 | let ptr = arena.xalloc(layout, policy.into())?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::Mutex<()>: Lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | match arenas.get(&arena) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `free` exists for reference `&Arena<'_, '_, std::alloc::Global, std::sync::Mutex<()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/repl/main.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | Some(arena) => match arena.free(base) { [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::Mutex<()>: Lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | match arenas.remove(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<()>: Lock` is not satisfied [INFO] [stdout] --> examples/repl/main.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | for (_, arena) in arenas { [INFO] [stdout] | ^^^^^^ the trait `Lock` is not implemented for `std::sync::Mutex<()>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Arena` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:56 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Arena<'label, 'src, A: alloc::Allocator, L: lock::Lock> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `label` exists for struct `Arena<'_, '_, std::alloc::Global, std::sync::Mutex<()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/repl/main.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | let label = arena.label(); [INFO] [stdout] | ^^^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::Mutex<()>: Lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vmem` (example "repl") due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6186d4f0e01ab4488c679d6c492d23d9f239ec6b66b73a0c71884ef5294c3f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6186d4f0e01ab4488c679d6c492d23d9f239ec6b66b73a0c71884ef5294c3f1d", kill_on_drop: false }` [INFO] [stdout] 6186d4f0e01ab4488c679d6c492d23d9f239ec6b66b73a0c71884ef5294c3f1d