[INFO] fetching crate ctf 0.1.0... [INFO] testing ctf-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate ctf 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ctf 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ctf 0.1.0 [INFO] finished tweaking crates.io crate ctf 0.1.0 [INFO] tweaked toml for crates.io crate ctf 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c15eebf6fbbfc934dbd20d764d894ebdc72b26a77f44978c6fe7d61521456ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c15eebf6fbbfc934dbd20d764d894ebdc72b26a77f44978c6fe7d61521456ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c15eebf6fbbfc934dbd20d764d894ebdc72b26a77f44978c6fe7d61521456ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c15eebf6fbbfc934dbd20d764d894ebdc72b26a77f44978c6fe7d61521456ed", kill_on_drop: false }` [INFO] [stdout] 7c15eebf6fbbfc934dbd20d764d894ebdc72b26a77f44978c6fe7d61521456ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5965485027eb6880a3ad2954f8501d84135d1e82c54d981376e18b5db3a04d37 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5965485027eb6880a3ad2954f8501d84135d1e82c54d981376e18b5db3a04d37", kill_on_drop: false }` [INFO] [stderr] Compiling ctf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let u = model::User { id: 42, handle: String::from("alxbl"), access: 999, assigned: None}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Challenge` [INFO] [stdout] --> src/model.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Challenge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Trail` [INFO] [stdout] --> src/model.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Trail { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Event` [INFO] [stdout] --> src/model.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open` [INFO] [stdout] --> src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn open() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "5965485027eb6880a3ad2954f8501d84135d1e82c54d981376e18b5db3a04d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5965485027eb6880a3ad2954f8501d84135d1e82c54d981376e18b5db3a04d37", kill_on_drop: false }` [INFO] [stdout] 5965485027eb6880a3ad2954f8501d84135d1e82c54d981376e18b5db3a04d37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ec1cbf4acc99c558ae4fe8d16169c808f65cc7c1534c1f6426e0a6be64a5711 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ec1cbf4acc99c558ae4fe8d16169c808f65cc7c1534c1f6426e0a6be64a5711", kill_on_drop: false }` [INFO] [stderr] Compiling ctf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let u = model::User { id: 42, handle: String::from("alxbl"), access: 999, assigned: None}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Challenge` [INFO] [stdout] --> src/model.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Challenge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Trail` [INFO] [stdout] --> src/model.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Trail { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Event` [INFO] [stdout] --> src/model.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open` [INFO] [stdout] --> src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn open() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `open` in this scope [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | open(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ctf`. [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9ec1cbf4acc99c558ae4fe8d16169c808f65cc7c1534c1f6426e0a6be64a5711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec1cbf4acc99c558ae4fe8d16169c808f65cc7c1534c1f6426e0a6be64a5711", kill_on_drop: false }` [INFO] [stdout] 9ec1cbf4acc99c558ae4fe8d16169c808f65cc7c1534c1f6426e0a6be64a5711