[INFO] cloning repository https://github.com/headexplodes/henchman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/headexplodes/henchman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheadexplodes%2Fhenchman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheadexplodes%2Fhenchman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa4a8b29356002558f6d1e2776d13453bb60dec4 [INFO] testing headexplodes/henchman against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheadexplodes%2Fhenchman" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/headexplodes/henchman on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/headexplodes/henchman [INFO] finished tweaking git repo https://github.com/headexplodes/henchman [INFO] tweaked toml for git repo https://github.com/headexplodes/henchman written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/headexplodes/henchman 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256b13fb55831f21e38b1e2a82b46918e2666df27e406d309f4226eea450ebd5 [INFO] running `Command { std: "docker" "start" "-a" "256b13fb55831f21e38b1e2a82b46918e2666df27e406d309f4226eea450ebd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256b13fb55831f21e38b1e2a82b46918e2666df27e406d309f4226eea450ebd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256b13fb55831f21e38b1e2a82b46918e2666df27e406d309f4226eea450ebd5", kill_on_drop: false }` [INFO] [stdout] 256b13fb55831f21e38b1e2a82b46918e2666df27e406d309f4226eea450ebd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a5e237f591c4539edd78a93560c7b169aa3ac35173c121f09992e85098ed419 [INFO] running `Command { std: "docker" "start" "-a" "2a5e237f591c4539edd78a93560c7b169aa3ac35173c121f09992e85098ed419", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling winnow v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rtoolbox v0.0.1 [INFO] [stderr] Compiling rpassword v7.2.0 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling toml v0.7.6 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling henchman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(debug_load_files))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | resource!(&["tasks"], "resources/tasks.html", TEXT_HTML), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | resource!(&["tasks", "task"], "resources/tasks/task.html", TEXT_HTML), [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | resource!(&["favicon.ico"], "resources/favicon.ico", IMAGE_PNG), [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | resource!(&["main.css"], "resources/main.css", TEXT_CSS), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | resource!(&["modules", "api"], "resources/modules/api.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | resource!(&["modules", "html"], "resources/modules/html.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | resource!(&["modules", "task"], "resources/modules/task.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | resource!(&["modules", "tasks"], "resources/modules/tasks.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | resource!(&["modules", "utils"], "resources/modules/utils.mjs", APPLICATION_JAVASCRIPT) [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `roles` are never read [INFO] [stdout] --> src/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct UserPrincipal { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 35 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub roles: HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.07s [INFO] running `Command { std: "docker" "inspect" "2a5e237f591c4539edd78a93560c7b169aa3ac35173c121f09992e85098ed419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5e237f591c4539edd78a93560c7b169aa3ac35173c121f09992e85098ed419", kill_on_drop: false }` [INFO] [stdout] 2a5e237f591c4539edd78a93560c7b169aa3ac35173c121f09992e85098ed419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a7405fd54503276b1ec57ce0aed78e9347043f1d32274b77fd2523b2e8de49 [INFO] running `Command { std: "docker" "start" "-a" "97a7405fd54503276b1ec57ce0aed78e9347043f1d32274b77fd2523b2e8de49", kill_on_drop: false }` [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(debug_load_files))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | resource!(&["tasks"], "resources/tasks.html", TEXT_HTML), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | resource!(&["tasks", "task"], "resources/tasks/task.html", TEXT_HTML), [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | resource!(&["favicon.ico"], "resources/favicon.ico", IMAGE_PNG), [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | resource!(&["main.css"], "resources/main.css", TEXT_CSS), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | resource!(&["modules", "api"], "resources/modules/api.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | resource!(&["modules", "html"], "resources/modules/html.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | resource!(&["modules", "task"], "resources/modules/task.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | resource!(&["modules", "tasks"], "resources/modules/tasks.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | resource!(&["modules", "utils"], "resources/modules/utils.mjs", APPLICATION_JAVASCRIPT) [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `roles` are never read [INFO] [stdout] --> src/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct UserPrincipal { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 35 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub roles: HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling henchman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(debug_load_files))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | resource!(&["tasks"], "resources/tasks.html", TEXT_HTML), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | resource!(&["tasks", "task"], "resources/tasks/task.html", TEXT_HTML), [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | resource!(&["favicon.ico"], "resources/favicon.ico", IMAGE_PNG), [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | resource!(&["main.css"], "resources/main.css", TEXT_CSS), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | resource!(&["modules", "api"], "resources/modules/api.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | resource!(&["modules", "html"], "resources/modules/html.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | resource!(&["modules", "task"], "resources/modules/task.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | resource!(&["modules", "tasks"], "resources/modules/tasks.mjs", APPLICATION_JAVASCRIPT), [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stdout] --> src/web.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(debug_load_files)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | resource!(&["modules", "utils"], "resources/modules/utils.mjs", APPLICATION_JAVASCRIPT) [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `roles` are never read [INFO] [stdout] --> src/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct UserPrincipal { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 35 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub roles: HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.58s [INFO] running `Command { std: "docker" "inspect" "97a7405fd54503276b1ec57ce0aed78e9347043f1d32274b77fd2523b2e8de49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a7405fd54503276b1ec57ce0aed78e9347043f1d32274b77fd2523b2e8de49", kill_on_drop: false }` [INFO] [stdout] 97a7405fd54503276b1ec57ce0aed78e9347043f1d32274b77fd2523b2e8de49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12dc032e34eb7a6bda8ad993ad54e03cf92a5204f9addd34e1bccd23ebe95bfa [INFO] running `Command { std: "docker" "start" "-a" "12dc032e34eb7a6bda8ad993ad54e03cf92a5204f9addd34e1bccd23ebe95bfa", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | #[cfg(not(debug_load_files))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:69:7 [INFO] [stderr] | [INFO] [stderr] 69 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | resource!(&["tasks"], "resources/tasks.html", TEXT_HTML), [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | resource!(&["tasks", "task"], "resources/tasks/task.html", TEXT_HTML), [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | resource!(&["favicon.ico"], "resources/favicon.ico", IMAGE_PNG), [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | resource!(&["main.css"], "resources/main.css", TEXT_CSS), [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | resource!(&["modules", "api"], "resources/modules/api.mjs", APPLICATION_JAVASCRIPT), [INFO] [stderr] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | resource!(&["modules", "html"], "resources/modules/html.mjs", APPLICATION_JAVASCRIPT), [INFO] [stderr] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | resource!(&["modules", "task"], "resources/modules/task.mjs", APPLICATION_JAVASCRIPT), [INFO] [stderr] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | resource!(&["modules", "tasks"], "resources/modules/tasks.mjs", APPLICATION_JAVASCRIPT), [INFO] [stderr] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_load_files` [INFO] [stderr] --> src/web.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(debug_load_files)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | resource!(&["modules", "utils"], "resources/modules/utils.mjs", APPLICATION_JAVASCRIPT) [INFO] [stderr] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_load_files)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_load_files)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `username` and `roles` are never read [INFO] [stderr] --> src/server.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct UserPrincipal { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 35 | pub username: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 36 | pub roles: HashSet, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `henchman` (lib) generated 13 warnings [INFO] [stderr] warning: `henchman` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/henchman-be672787f3dd3b6a) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test json::tests::test_deserialise_default_none ... ok [INFO] [stdout] test json::tests::test_deserialise_default_string ... ok [INFO] [stdout] test json::tests::test_serialise_default_boolean ... ok [INFO] [stdout] test json::tests::test_serialise_default_number ... ok [INFO] [stdout] test server_file::tests::test_parse_server_toml ... ok [INFO] [stdout] test json::tests::test_serialise_default_string ... ok [INFO] [stdout] test json::tests::test_deserialise_default_boolean ... ok [INFO] [stdout] test json::tests::test_deserialise_default_number ... ok [INFO] [stdout] test json::tests::test_serialise_default_none ... ok [INFO] [stdout] test password::tests::test_hash_and_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/henchman-0cb8fb0d520cf2be) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/henchman_password.rs (/opt/rustwide/target/debug/deps/henchman_password-93471f5c520b8d1a) [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-b505fce7414f4f2c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Waiting for server to start... [INFO] [stdout] running 7 tests [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Waiting for server to start... [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Waiting for server to start... [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman] Found task files: ["/opt/rustwide/workdir/tests/resources/tasks/example1.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_required.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_number.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_boolean.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_enum.task.toml"] [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Waiting for server to start... [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman] Found task files: ["/opt/rustwide/workdir/tests/resources/tasks/example1.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_required.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_number.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_boolean.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_enum.task.toml"] [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Waiting for server to start... [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman] Found task files: ["/opt/rustwide/workdir/tests/resources/tasks/example1.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_required.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_number.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_boolean.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_enum.task.toml"] [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Server started on http://127.0.0.1:41159 [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Waiting for server to start... [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman] Found task files: ["/opt/rustwide/workdir/tests/resources/tasks/example1.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_required.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_number.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_boolean.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_enum.task.toml"] [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman] Found task files: ["/opt/rustwide/workdir/tests/resources/tasks/example1.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_required.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_number.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_boolean.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_enum.task.toml"] [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman] Found task files: ["/opt/rustwide/workdir/tests/resources/tasks/example1.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_required.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_number.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_boolean.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_enum.task.toml"] [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Server started on http://127.0.0.1:34857 [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Server started on http://127.0.0.1:38235 [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Server started on http://127.0.0.1:36477 [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Server started on http://127.0.0.1:41665 [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Waiting for server to start... [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman] Found task files: ["/opt/rustwide/workdir/tests/resources/tasks/example1.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_required.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_number.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_boolean.task.toml", "/opt/rustwide/workdir/tests/resources/tasks/param_enum.task.toml"] [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Server started on http://127.0.0.1:39467 [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Server started on http://127.0.0.1:43615 [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks -> 200 OK [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Test server ended normally [INFO] [stdout] test test_get_tasks ... ok [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/example1 -> 200 OK [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Error: BadRequest("Invalid parameter value: param1") [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_number/run?param1=foo -> 400 Bad Request [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Test server ended normally [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Error: BadRequest("Parameter is required: param1") [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_required/run -> 400 Bad Request [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Error: BadRequest("Invalid parameter value: param1") [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_enum/run?param1=foo -> 400 Bad Request [INFO] [stdout] test test_get_task ... ok [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing task: example1 [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing: TaskExec { command: "./example1.sh", args: [], dir: "/opt/rustwide/workdir/tests/resources/tasks/bin", env: {"PARAM_2": "3", "PARAM_1": "foo"} } [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing task: param_required [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing: TaskExec { command: "bash", args: ["-c", "echo Success: $PARAM_1"], dir: "/opt/rustwide/workdir/tests/resources/tasks", env: {"PARAM_1": "foo"} } [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing task: param_number [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing: TaskExec { command: "bash", args: ["-c", "echo Success: $PARAM_1"], dir: "/opt/rustwide/workdir/tests/resources/tasks", env: {"PARAM_1": "3.14"} } [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing task: param_enum [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_number/run?param1=3.14 -> 200 OK [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: POST /api/tasks/example1/run -> 200 OK [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Process exited with code: 0 [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing: TaskExec { command: "bash", args: ["-c", "echo Success: $PARAM_1"], dir: "/opt/rustwide/workdir/tests/resources/tasks", env: {"PARAM_1": "bar"} } [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_required/run?param1=foo -> 200 OK [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Process exited with code: 0 [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Error: BadRequest("Invalid parameter value: param1") [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_boolean/run?param1=foo -> 400 Bad Request [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Test server ended normally [INFO] [stdout] test test_post_task_run ... ok [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_enum/run?param1=bar -> 200 OK [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Process exited with code: 0 [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Process exited with code: 0 [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing task: param_boolean [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Executing: TaskExec { command: "bash", args: ["-c", "echo Success: $PARAM_1"], dir: "/opt/rustwide/workdir/tests/resources/tasks", env: {"PARAM_1": "true"} } [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Request: GET /api/tasks/param_boolean/run?param1=true -> 200 OK [INFO] [stderr] [2025-02-23T12:29:22Z INFO henchman::server] Process exited with code: 0 [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Test server ended normally [INFO] [stdout] test should_validate_parameter_type_number ... ok [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Test server ended normally [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Test server ended normally [INFO] [stdout] test should_validate_parameter_required ... ok [INFO] [stdout] test should_validate_parameter_type_enum ... ok [INFO] [stderr] [2025-02-23T12:29:22Z INFO integration_test] Test server ended normally [INFO] [stdout] test should_validate_parameter_type_boolean ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests henchman [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12dc032e34eb7a6bda8ad993ad54e03cf92a5204f9addd34e1bccd23ebe95bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12dc032e34eb7a6bda8ad993ad54e03cf92a5204f9addd34e1bccd23ebe95bfa", kill_on_drop: false }` [INFO] [stdout] 12dc032e34eb7a6bda8ad993ad54e03cf92a5204f9addd34e1bccd23ebe95bfa