Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-3392] Problem when using REPL #4648

Open
swift-ci opened this issue Dec 11, 2016 · 3 comments
Open

[SR-3392] Problem when using REPL #4648

swift-ci opened this issue Dec 11, 2016 · 3 comments
Labels
bug Something isn't working LLDB for Swift REPL

Comments

@swift-ci
Copy link

Previous ID SR-3392
Radar None
Original Reporter pablolmiranda (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 1
Component/s LLDB for Swift
Labels Bug, REPL
Assignee None
Priority Medium

md5: b0f7eeca870105c0ad5d656a8423022f

Issue Description:

OSX: 10.12.1
XCode: 8.1 (8B62)

When I run swift on the command line to access the REPL I see the following output:

Welcome to Apple Swift version 3.0.1 (swiftlang-800.0.58.6 clang-800.0.42.1). Type :help for assistance.
warning: Swift error in module repl_swift.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module dyld.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libz.1.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libedit.3.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libpanel.5.4.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libncurses.5.4.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module Foundation.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libSystem.B.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libDiagnosticMessagesClient.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libicucore.A.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libauto.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module DiskArbitration.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libarchive.2.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libxml2.2.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CFNetwork.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module SystemConfiguration.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CoreServices.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module liblangid.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module IOKit.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libCRFSuite.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libc++abi.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libc++.1.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcache.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcommonCrypto.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcompiler_rt.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcopyfile.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcorecrypto.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libdispatch.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libdyld.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libkeymgr.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module liblaunch.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libmacho.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libquarantine.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libremovefile.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_asl.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_blocks.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_c.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_configuration.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_coreservices.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_coretls.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_dnssd.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_info.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_kernel.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_m.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_malloc.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_network.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_networkextension.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_notify.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_platform.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_pthread.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_sandbox.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_secinit.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_symptoms.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsystem_trace.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libunwind.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libxpc.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module Security.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libbz2.1.0.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module liblzma.5.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libbsm.0.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libnetwork.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module FSEvents.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CarbonCore.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module Metadata.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module OSServices.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module SearchKit.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module AE.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module LaunchServices.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module DictionaryServices.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module SharedFileList.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libenergytrace.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libkxld.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcoretls.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcoretls_cfhelpers.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libxar.1.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libpam.2.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libOpenScriptingUtil.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libpcap.A.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module NetFS.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module TCC.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libmecabra.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CFOpenDirectory.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module ServiceManagement.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libmarisa.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module LanguageModeling.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libxslt.1.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module NetAuth.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module ApplicationServices.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libChineseTokenizer.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcmph.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libiconv.2.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CoreEmoji.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module loginsupport.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CoreText.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module ATS.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module ColorSync.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module HIServices.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module LangAnalysis.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module PrintCore.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module QD.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module SpeechSynthesis.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libFontParser.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libFontRegistry.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module AppleJPEG.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module IOSurface.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module MultitouchSupport.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcups.2.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CoreAudio.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module AudioToolbox.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module Kerberos.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module GSS.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libresolv.9.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libQuadrature.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module Heimdal.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module OpenDirectory.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libheimdal-asn1.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CommonAuth.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module SecurityFoundation.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CoreFoundation.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libobjc.A.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libswiftCore.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libswiftDarwin.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libsqlite3.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CoreGraphics.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module ImageIO.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module Accelerate.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module vImage.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module vecLib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libvDSP.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libBNNS.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libvMisc.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libLAPACK.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libBLAS.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libLinearAlgebra.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libSparseBLAS.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libJPEG.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libTIFF.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libPng.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libGIF.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libJP2.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libRadiance.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module libcompression.dylib.
Debug info from this module will be unavailable in the debugger.

warning: Swift error in module CoreData.
Debug info from this module will be unavailable in the debugger.
@belkadan
Copy link

cc jingham@apple.com (JIRA User)

How are you invoking the REPL? Which Xcode do you have installed? Do you have command-line tools installed?

@swift-ci
Copy link
Author

Comment by Michael Camilleri (JIRA)

I have the same issue.

In my case, I am invoking the REPL by running swift with no arguments from the command line (the actual binary being called is /usr/bin/swift).

Output of swift -version is:

Apple Swift version 3.1 (swiftlang-802.0.48 clang-802.0.38)
Target: x86_64-apple-macosx10.9

The output of lldb -v is:

lldb-370.0.37
  Swift-3.1

I only have the Command Line Tools installed (version 2347). The path for xcode-select is /Library/Developer/CommandLineTools.

I have run softwareupdate --list but no software updates are listed as being outstanding. I am running macOS Sierra 10.12.4.

@belkadan
Copy link

Aha, CommandLineTools-only might have something to do with it. Thanks, Michael.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift REPL
Projects
None yet
Development

No branches or pull requests

2 participants