-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
...
Compiling async-tungstenite v0.23.0
warning: tree-sitter@0.25.10: In file included from /Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/lib.c:6:
warning: tree-sitter@0.25.10: In file included from /Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/./parser.c:10:
warning: tree-sitter@0.25.10: /Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/././clock.h:117:29: error: use of undeclared identifier 'CLOCKS_PER_SEC'
warning: tree-sitter@0.25.10: 117 | return micros * (uint64_t)CLOCKS_PER_SEC / 1000000;
warning: tree-sitter@0.25.10: | ^
warning: tree-sitter@0.25.10: /Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/././clock.h:121:37: error: use of undeclared identifier 'CLOCKS_PER_SEC'
warning: tree-sitter@0.25.10: 121 | return self * 1000000 / (uint64_t)CLOCKS_PER_SEC;
warning: tree-sitter@0.25.10: | ^
warning: tree-sitter@0.25.10: /Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/././clock.h:129:20: error: call to undeclared function 'clock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
warning: tree-sitter@0.25.10: 129 | return (uint64_t)clock();
warning: tree-sitter@0.25.10: | ^
warning: tree-sitter@0.25.10: 3 errors generated.
error: failed to run custom build command for `tree-sitter v0.25.10`
Caused by:
process didn't exit successfully: `/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-b5e2977ae0a249ff/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=CARGO_FEATURE_WASM
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/error_costs.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/lib.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/subtree.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/reusable_node.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/host.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/point.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/unicode
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/stack.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/parser.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/tree_cursor.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/portable
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/language.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/wasm
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/lexer.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/wasm_store.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/tree.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/get_changed_ranges.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/alloc.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/unicode.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/array.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/query.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/stack.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/subtree.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/length.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/ts_assert.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/lexer.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/language.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/reduce_action.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/tree_cursor.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/parser.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/clock.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/alloc.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/node.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/get_changed_ranges.h
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/wasm_store.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/tree.c
cargo:rerun-if-changed=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/atomic.h
OUT_DIR = Some(/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-96105b33c19c0125/out)
OPT_LEVEL = Some(3)
TARGET = Some(aarch64-apple-darwin)
CARGO_ENCODED_RUSTFLAGS = Some()
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
CC_aarch64-apple-darwin = None
cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
CC_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
RUSTC_WRAPPER = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some(false)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = Some(15.0)
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
CFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
CFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-96105b33c19c0125/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = Some(15.0)
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
CFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
CFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-96105b33c19c0125/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = Some(15.0)
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
CFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
CFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-96105b33c19c0125/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = Some(15.0)
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
CFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
CFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-96105b33c19c0125/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = Some(15.0)
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
CFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
CFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-96105b33c19c0125/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = Some(15.0)
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
CFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
CFLAGS_aarch64-apple-darwin = None
cargo:warning=In file included from /Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/lib.c:6:
cargo:warning=In file included from /Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/./parser.c:10:
cargo:warning=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/././clock.h:117:29: error: use of undeclared identifier 'CLOCKS_PER_SEC'
cargo:warning= 117 | return micros * (uint64_t)CLOCKS_PER_SEC / 1000000;
cargo:warning= | ^
cargo:warning=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/././clock.h:121:37: error: use of undeclared identifier 'CLOCKS_PER_SEC'
cargo:warning= 121 | return self * 1000000 / (uint64_t)CLOCKS_PER_SEC;
cargo:warning= | ^
cargo:warning=/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/././clock.h:129:20: error: call to undeclared function 'clock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cargo:warning= 129 | return (uint64_t)clock();
cargo:warning= | ^
cargo:warning=3 errors generated.
--- stderr
error occurred in cc-rs: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=arm64-apple-macosx" "-mmacosx-version-min=15.0" "-I" "/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src" "-I" "/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/wasm" "-I" "/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/include" "-std=c11" "-fvisibility=hidden" "-Wshadow" "-Wno-unused-parameter" "-Wno-incompatible-pointer-types" "-D_POSIX_C_SOURCE=200112L" "-D_DEFAULT_SOURCE" "-D_DARWIN_C_SOURCE" "-o" "/Users/daniel/LocalDocs/code-assistant/target/release/build/tree-sitter-96105b33c19c0125/out/98490c8781b409d2-lib.o" "-c" "/Users/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/src/lib.c"
warning: build failed, waiting for other jobs to finish...
✘ daniel@MacBook-Pro-FCDM ~/LocalDocs/code-assistant main Metadata
Metadata
Assignees
Labels
No labels