[INFO] crate addon_distributor 0.1.0 is already in cache [INFO] testing addon_distributor-0.1.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate addon_distributor 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate addon_distributor 0.1.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate addon_distributor 0.1.0 [INFO] finished tweaking crates.io crate addon_distributor 0.1.0 [INFO] tweaked toml for crates.io crate addon_distributor 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate addon_distributor 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 025f0cf0276b7efcdc8a68879276b6d0425ec4d848865f150bb9e101cef4165b [INFO] running `"docker" "start" "-a" "025f0cf0276b7efcdc8a68879276b6d0425ec4d848865f150bb9e101cef4165b"` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling console v0.9.0 [INFO] [stderr] Compiling dialoguer v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling addon_distributor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `"docker" "inspect" "025f0cf0276b7efcdc8a68879276b6d0425ec4d848865f150bb9e101cef4165b"` [INFO] running `"docker" "rm" "-f" "025f0cf0276b7efcdc8a68879276b6d0425ec4d848865f150bb9e101cef4165b"` [INFO] [stdout] 025f0cf0276b7efcdc8a68879276b6d0425ec4d848865f150bb9e101cef4165b [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4f31f776b09ad008fa763bfdfd470dd797a3c8479acca3acfe1dc4b2d5589ff1 [INFO] running `"docker" "start" "-a" "4f31f776b09ad008fa763bfdfd470dd797a3c8479acca3acfe1dc4b2d5589ff1"` [INFO] [stderr] Compiling addon_distributor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `select_addon` in module `distributor` [INFO] [stderr] --> src/lib.rs:241:54 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn upsert_addon(addons: &mut Addons, name: String, addon: Addon) { [INFO] [stderr] | -------------------------------------------------------------------- similarly named function `upsert_addon` defined here [INFO] [stderr] ... [INFO] [stderr] 241 | println!("Choosen addon is {}", distributor::select_addon(addons)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 241 | println!("Choosen addon is {}", distributor::upsert_addon(addons)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 202 | use crate::tests::select_addon; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:224:56 [INFO] [stderr] | [INFO] [stderr] 224 | let addon_names = distributor::get_addon_names(addons); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&Addons`, found struct `Addons` [INFO] [stderr] | help: consider borrowing here: `&addons` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `addon_distributor`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4f31f776b09ad008fa763bfdfd470dd797a3c8479acca3acfe1dc4b2d5589ff1"` [INFO] running `"docker" "rm" "-f" "4f31f776b09ad008fa763bfdfd470dd797a3c8479acca3acfe1dc4b2d5589ff1"` [INFO] [stdout] 4f31f776b09ad008fa763bfdfd470dd797a3c8479acca3acfe1dc4b2d5589ff1