[INFO] cloning repository https://github.com/ian-fox/advent2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ian-fox/advent2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fian-fox%2Fadvent2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fian-fox%2Fadvent2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16cabf4fcd356d4c4d4e156c573a1a14e32048a7 [INFO] testing ian-fox/advent2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fian-fox%2Fadvent2" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ian-fox/advent2 [INFO] finished tweaking git repo https://github.com/ian-fox/advent2 [INFO] tweaked toml for git repo https://github.com/ian-fox/advent2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ian-fox/advent2 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/ian-fox/advent2 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bd1c9dc3ff108ac58040b1fa376d33fede8e6e7aea7be04a9df3789a367a5a64 [INFO] running `Command { std: "docker" "start" "-a" "bd1c9dc3ff108ac58040b1fa376d33fede8e6e7aea7be04a9df3789a367a5a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd1c9dc3ff108ac58040b1fa376d33fede8e6e7aea7be04a9df3789a367a5a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1c9dc3ff108ac58040b1fa376d33fede8e6e7aea7be04a9df3789a367a5a64", kill_on_drop: false }` [INFO] [stdout] bd1c9dc3ff108ac58040b1fa376d33fede8e6e7aea7be04a9df3789a367a5a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6fff81f3b91a7c965c6147cd389933d906c60c06fce543a4f4393a11b7e96e92 [INFO] running `Command { std: "docker" "start" "-a" "6fff81f3b91a7c965c6147cd389933d906c60c06fce543a4f4393a11b7e96e92", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling advent_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/cat.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | debug!("fd is {}", fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/cat.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | debug!("read {} bytes", size_read); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/cat.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | debug!("wrote {} bytes", size_write); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/cat.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | debug!("close returned {}", close); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/cat.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | let fd = libc::open(path as *const u8, libc::O_RDONLY); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.138/src/unix/mod.rs:743:12 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_2` (bin "cat") due to 1 previous error; 4 warnings emitted [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/sigaction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | debug!("sa_sigsegv"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/sigaction.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | debug!("getting page size"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/sigaction.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | debug!("setting handlers"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/sigaction.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | debug!("dereferencing a bad pointer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/sigaction.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | debug!("calling an invalid opcode"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/sigaction.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | debug!("doing both"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/sigaction.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | debug!("calling pmap"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/clone.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | println!("Child sees shared is {}", SHARED); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/clone.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | println!("Parent sees shared is {}", SHARED); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/inotify.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | debug!("init inotify"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/inotify.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | debug!("add watch"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/bin/inotify.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | debug!("got event[s]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `advent_2` crate, try updating your dependency with `cargo update -p advent_2` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pc` on type `mcontext_t` [INFO] [stdout] --> src/bin/sigaction.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | let pc = (*ctx).uc_mcontext.pc; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `gregs`, `fpregs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pc` on type `mcontext_t` [INFO] [stdout] --> src/bin/sigaction.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | (*ctx).uc_mcontext.pc += 4; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `gregs`, `fpregs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_2` (bin "sigaction") due to 2 previous errors; 7 warnings emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/inotify.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | let name_str = CStr::from_ptr(name); [INFO] [stdout] | -------------- ^^^^ expected `*const i8`, found `*mut u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*mut u8` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ffi/c_str.rs:255:25 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/mmap.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 35 | let fd = libc::open( [INFO] [stdout] | ---------- arguments to this function are incorrect [INFO] [stdout] 36 | PERSISTENCE_PATH.bytes().collect::>().as_ptr() as *const u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.138/src/unix/mod.rs:743:12 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_2` (bin "mmap") due to 1 previous error [INFO] [stderr] error: could not compile `advent_2` (bin "inotify") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fff81f3b91a7c965c6147cd389933d906c60c06fce543a4f4393a11b7e96e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fff81f3b91a7c965c6147cd389933d906c60c06fce543a4f4393a11b7e96e92", kill_on_drop: false }` [INFO] [stdout] 6fff81f3b91a7c965c6147cd389933d906c60c06fce543a4f4393a11b7e96e92