[INFO] fetching crate vmem 1.0.0... [INFO] testing vmem-1.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate vmem 1.0.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vmem 1.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fbd07aa20e049cbf6135d16c209bc31eb608649bed5a108b7a44e161cac8d11 [INFO] running `Command { std: "docker" "start" "-a" "1fbd07aa20e049cbf6135d16c209bc31eb608649bed5a108b7a44e161cac8d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fbd07aa20e049cbf6135d16c209bc31eb608649bed5a108b7a44e161cac8d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbd07aa20e049cbf6135d16c209bc31eb608649bed5a108b7a44e161cac8d11", kill_on_drop: false }` [INFO] [stdout] 1fbd07aa20e049cbf6135d16c209bc31eb608649bed5a108b7a44e161cac8d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84e2f63d6fb51095184007f0a7e4ca58501926ec242e0e1e209a09aa591375c6 [INFO] running `Command { std: "docker" "start" "-a" "84e2f63d6fb51095184007f0a7e4ca58501926ec242e0e1e209a09aa591375c6", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.6.0 [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 1.52s [INFO] running `Command { std: "docker" "inspect" "84e2f63d6fb51095184007f0a7e4ca58501926ec242e0e1e209a09aa591375c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e2f63d6fb51095184007f0a7e4ca58501926ec242e0e1e209a09aa591375c6", kill_on_drop: false }` [INFO] [stdout] 84e2f63d6fb51095184007f0a7e4ca58501926ec242e0e1e209a09aa591375c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c109d12f6f66ed67f674d806a42361bef079b6bba640d3d0030a454b43eb64b [INFO] running `Command { std: "docker" "start" "-a" "9c109d12f6f66ed67f674d806a42361bef079b6bba640d3d0030a454b43eb64b", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstream v0.6.7 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling clap_builder v4.4.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling clap-num v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [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[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, 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 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9c109d12f6f66ed67f674d806a42361bef079b6bba640d3d0030a454b43eb64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c109d12f6f66ed67f674d806a42361bef079b6bba640d3d0030a454b43eb64b", kill_on_drop: false }` [INFO] [stdout] 9c109d12f6f66ed67f674d806a42361bef079b6bba640d3d0030a454b43eb64b