[INFO] cloning repository https://github.com/seven-two-eight/fuzzy-match [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seven-two-eight/fuzzy-match" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseven-two-eight%2Ffuzzy-match", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseven-two-eight%2Ffuzzy-match'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02e76c597369dd4302354b6d65e0f503109d5970 [INFO] testing seven-two-eight/fuzzy-match against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseven-two-eight%2Ffuzzy-match" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seven-two-eight/fuzzy-match on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seven-two-eight/fuzzy-match [INFO] finished tweaking git repo https://github.com/seven-two-eight/fuzzy-match [INFO] tweaked toml for git repo https://github.com/seven-two-eight/fuzzy-match written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/seven-two-eight/fuzzy-match 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.0 [INFO] [stderr] Downloaded stdweb-derive v0.5.0 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.0 [INFO] [stderr] Downloaded stdweb v0.4.9 [INFO] [stderr] Downloaded syn v0.15.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86f0f3e86074d2c4fb86f795701a3a3ccc1344797926435189e45474bc38f471 [INFO] running `Command { std: "docker" "start" "-a" "86f0f3e86074d2c4fb86f795701a3a3ccc1344797926435189e45474bc38f471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86f0f3e86074d2c4fb86f795701a3a3ccc1344797926435189e45474bc38f471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f0f3e86074d2c4fb86f795701a3a3ccc1344797926435189e45474bc38f471", kill_on_drop: false }` [INFO] [stdout] 86f0f3e86074d2c4fb86f795701a3a3ccc1344797926435189e45474bc38f471 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39f84521579cef35eb77dcc63160fe65a2b1969135b9c99227fa498170288711 [INFO] running `Command { std: "docker" "start" "-a" "39f84521579cef35eb77dcc63160fe65a2b1969135b9c99227fa498170288711", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling discard v1.0.4 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.15.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling stdweb-derive v0.5.0 [INFO] [stderr] Compiling stdweb v0.4.9 [INFO] [stderr] Compiling fuzzy-match v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/marks.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/marks.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/marks.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MarksRecords` [INFO] [stdout] 13 | pub struct MarksRecords { [INFO] [stdout] | ------------ `MarksRecords` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/marks.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MarksRecords` [INFO] [stdout] 13 | pub struct MarksRecords { [INFO] [stdout] | ------------ `MarksRecords` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/marks.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | write!(f, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/marks.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | write!(f, "{:<4.4}", record_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/web_ui.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | panic!(s); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 190 | panic!("{}", s); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/web_ui.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 252 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/web_ui.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / select( &format!(".{}", CLASS_OPEN_TAB) ) [INFO] [stdout] 262 | | .set_attribute("class", CLASS_CLOSED_TAB).is_ok(); [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 261 | let _ = select( &format!(".{}", CLASS_OPEN_TAB) ) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/web_ui.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | tab.set_attribute("class", CLASS_OPEN_TAB).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 263 | let _ = tab.set_attribute("class", CLASS_OPEN_TAB).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcBwrdJv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libfuzzy_match-c1d72e2c8a3eff24.rlib,libstdweb-13101da28219b68e.rlib,libdiscard-11fc78d17c12a98b.rlib,libstdweb_internal_runtime-cb38e70ada4aa101.rlib,libserde_json-de4e2ddab2058ca5.rlib,libryu-502f43d0972adab8.rlib,libitoa-24e6507aebce4121.rlib,libserde-83e75e03ee222632.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcBwrdJv/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/fuzzy_match-54619f0cea839845" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: emscripten_asm_const_int [INFO] [stdout] >>> referenced by macros.rs:37 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.9/src/webcore/macros.rs:37) [INFO] [stdout] >>> fuzzy_match-c1d72e2c8a3eff24.fuzzy_match.27ee00dbd60f3c79-cgu.0.rcgu.o:(_$LT$stdweb..webcore..newtype..Newtype$LT$$LP$stdweb..webcore..serialization..FunctionTag$C$$LP$A12$C$$RP$$RP$$C$F$GT$$u20$as$u20$stdweb..webcore..serialization..FuncallAdapter$LT$F$GT$$GT$::funcall_adapter::h97d297851e678f44) in archive /opt/rustwide/target/debug/deps/libfuzzy_match-c1d72e2c8a3eff24.rlib [INFO] [stdout] >>> referenced by macros.rs:37 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.9/src/webcore/macros.rs:37) [INFO] [stdout] >>> fuzzy_match-c1d72e2c8a3eff24.fuzzy_match.27ee00dbd60f3c79-cgu.0.rcgu.o:(_$LT$stdweb..webcore..newtype..Newtype$LT$$LP$stdweb..webcore..serialization..FunctionTag$C$$LP$A12$C$$RP$$RP$$C$F$GT$$u20$as$u20$stdweb..webcore..serialization..FuncallAdapter$LT$F$GT$$GT$::funcall_adapter::h992899db2aade078) in archive /opt/rustwide/target/debug/deps/libfuzzy_match-c1d72e2c8a3eff24.rlib [INFO] [stdout] >>> referenced by macros.rs:37 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.9/src/webcore/macros.rs:37) [INFO] [stdout] >>> fuzzy_match-c1d72e2c8a3eff24.fuzzy_match.27ee00dbd60f3c79-cgu.0.rcgu.o:(_$LT$stdweb..webcore..newtype..Newtype$LT$$LP$stdweb..webcore..serialization..FunctionTag$C$$LP$A12$C$$RP$$RP$$C$F$GT$$u20$as$u20$stdweb..webcore..serialization..FuncallAdapter$LT$F$GT$$GT$::funcall_adapter::hf769493b0a470860) in archive /opt/rustwide/target/debug/deps/libfuzzy_match-c1d72e2c8a3eff24.rlib [INFO] [stdout] >>> referenced 51 more times [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fuzzy-match` (bin "fuzzy-match") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "39f84521579cef35eb77dcc63160fe65a2b1969135b9c99227fa498170288711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f84521579cef35eb77dcc63160fe65a2b1969135b9c99227fa498170288711", kill_on_drop: false }` [INFO] [stdout] 39f84521579cef35eb77dcc63160fe65a2b1969135b9c99227fa498170288711