[INFO] cloning repository https://github.com/lylythechosenone/vmem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lylythechosenone/vmem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flylythechosenone%2Fvmem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flylythechosenone%2Fvmem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e982dbe1c62c785a1c4424248a8490aeb5cbaf0 [INFO] testing lylythechosenone/vmem against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flylythechosenone%2Fvmem" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lylythechosenone/vmem [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/lylythechosenone/vmem [INFO] tweaked toml for git repo https://github.com/lylythechosenone/vmem written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lylythechosenone/vmem 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 git repo https://github.com/lylythechosenone/vmem 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing lylythechosenone/vmem against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flylythechosenone%2Fvmem" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lylythechosenone/vmem [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/lylythechosenone/vmem [INFO] tweaked toml for git repo https://github.com/lylythechosenone/vmem written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lylythechosenone/vmem 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 git repo https://github.com/lylythechosenone/vmem 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] [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 97d8052f343e90d54cbae1314b4a3280025111a9786e49b43ee52936df6a8958 [INFO] running `Command { std: "docker" "start" "-a" "97d8052f343e90d54cbae1314b4a3280025111a9786e49b43ee52936df6a8958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d8052f343e90d54cbae1314b4a3280025111a9786e49b43ee52936df6a8958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d8052f343e90d54cbae1314b4a3280025111a9786e49b43ee52936df6a8958", kill_on_drop: false }` [INFO] [stdout] 97d8052f343e90d54cbae1314b4a3280025111a9786e49b43ee52936df6a8958 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 43206cd0d0ffcd68f773a2fb33c17272220d389869d19f0861ac67fa67e6b5c6 [INFO] running `Command { std: "docker" "start" "-a" "43206cd0d0ffcd68f773a2fb33c17272220d389869d19f0861ac67fa67e6b5c6", 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 2.19s [INFO] running `Command { std: "docker" "inspect" "43206cd0d0ffcd68f773a2fb33c17272220d389869d19f0861ac67fa67e6b5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43206cd0d0ffcd68f773a2fb33c17272220d389869d19f0861ac67fa67e6b5c6", kill_on_drop: false }` [INFO] [stdout] 43206cd0d0ffcd68f773a2fb33c17272220d389869d19f0861ac67fa67e6b5c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4022a232eadacaebd28502cbdf7f125952d27795b54ff1dd8eb06f5af7aada96 [INFO] running `Command { std: "docker" "start" "-a" "4022a232eadacaebd28502cbdf7f125952d27795b54ff1dd8eb06f5af7aada96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap-num v1.1.1 [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.18 [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" "4022a232eadacaebd28502cbdf7f125952d27795b54ff1dd8eb06f5af7aada96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4022a232eadacaebd28502cbdf7f125952d27795b54ff1dd8eb06f5af7aada96", kill_on_drop: false }` [INFO] [stdout] 4022a232eadacaebd28502cbdf7f125952d27795b54ff1dd8eb06f5af7aada96